Changeset 574 for soft/giet_vm/applications
- Timestamp:
- May 19, 2015, 3:52:58 PM (10 years ago)
- Location:
- soft/giet_vm/applications
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/display/display.py
r533 r574 24 24 25 25 data_base = 0x20000000 26 data_size = 0x000 10000 # 64Kbytes26 data_size = 0x00040000 # 256 Kbytes 27 27 28 28 stack_base = 0x40000000 -
soft/giet_vm/applications/display/main.c
r555 r574 12 12 #include <hard_config.h> // To check Frame Buffer size 13 13 14 #define FILENAME "misc/ images.raw"15 #define NPIXELS 12816 #define NLINES 12817 #define NIMAGES 2014 #define FILENAME "misc/lena.raw" 15 #define NPIXELS 256 16 #define NLINES 256 17 #define NIMAGES 1 18 18 #define NBLOCKS (NPIXELS*NLINES/512) // number of blocks per image 19 19 -
soft/giet_vm/applications/transpose/main.c
r543 r574 28 28 #define CLUSTERS_MAX 32 // max number of clusters 29 29 #define PROCS_MAX 4 // max number of processors per cluster 30 #define NN 128 // image size : nlines = npixels = 12831 #define NB_IMAGES 5// number of images to be handled32 #define FILE_PATHNAME "misc/ images.raw" // file pathname ondisk30 #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 33 33 #define INSTRUMENTATION_OK 0 // display statistics on TTY when non zero 34 34 … … 139 139 140 140 // open file containing images 141 file = giet_fat_open( "misc/images.raw", 0);141 file = giet_fat_open( FILE_PATHNAME , 0 ); 142 142 143 143 if (file < 0) 144 144 { 145 145 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 ); 148 148 giet_exit(" open() failure"); 149 149 }
Note: See TracChangeset
for help on using the changeset viewer.