Changeset 574


Ignore:
Timestamp:
May 19, 2015, 3:52:58 PM (9 years ago)
Author:
alain
Message:

Cosmetic

Location:
soft/giet_vm/applications
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/display/display.py

    r533 r574  
    2424   
    2525    data_base  = 0x20000000
    26     data_size  = 0x00010000     # 64 Kbytes
     26    data_size  = 0x00040000     # 256 Kbytes
    2727
    2828    stack_base = 0x40000000
  • soft/giet_vm/applications/display/main.c

    r555 r574  
    1212#include <hard_config.h>     // To check Frame Buffer size
    1313
    14 #define FILENAME    "misc/images.raw"
    15 #define NPIXELS     128
    16 #define NLINES      128
    17 #define NIMAGES     20                 
     14#define FILENAME    "misc/lena.raw"
     15#define NPIXELS     256
     16#define NLINES      256
     17#define NIMAGES     1                 
    1818#define NBLOCKS     (NPIXELS*NLINES/512)   // number of blocks per image
    1919
  • soft/giet_vm/applications/transpose/main.c

    r543 r574  
    2828#define CLUSTERS_MAX        32                  // max number of clusters
    2929#define PROCS_MAX           4                   // max number of processors per cluster
    30 #define NN                  128                 // image size : nlines = npixels = 128
    31 #define NB_IMAGES           5                   // number of images to be handled
    32 #define FILE_PATHNAME       "misc/images.raw"   // file pathname on disk
     30#define NN                  256                 // image size : nlines = npixels
     31#define NB_IMAGES           1                   // number of images to be handled
     32#define FILE_PATHNAME       "misc/lena.raw"     // pathname on virtual disk
    3333#define INSTRUMENTATION_OK  0                   // display statistics on TTY when non zero
    3434
     
    139139
    140140        // open file containing images
    141         file = giet_fat_open( "misc/images.raw", 0);
     141        file = giet_fat_open( FILE_PATHNAME , 0 );
    142142
    143143        if (file < 0)
    144144        {
    145145            giet_shr_printf("\n[TRANSPOSE ERROR] Proc [%d,%d,%d]"
    146                             " cannot open file misc/images.raw",
    147                             x, y, lpid );
     146                            " cannot open file %s",
     147                            x , y , lpid , FILE_PATHNAME );
    148148            giet_exit(" open() failure");
    149149        }
Note: See TracChangeset for help on using the changeset viewer.