- Timestamp:
- Jul 14, 2015, 5:02:32 PM (9 years ago)
- Location:
- soft/giet_vm/applications
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/classif/classif.py
r589 r610 60 60 mapping.addVseg( vspace, 'classif_data', data_base , data_size, 61 61 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 62 binpath = 'b uild/classif/appli.elf',62 binpath = 'bin/classif/appli.elf', 63 63 local = False ) 64 64 … … 84 84 code_base , code_size, 85 85 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 86 binpath = 'b uild/classif/appli.elf',86 binpath = 'bin/classif/appli.elf', 87 87 local = True ) 88 88 … … 110 110 trdid = (((x * y_size) + y) * nprocs) + p 111 111 if ( p== 0 ): # task load 112 task_index = 0112 task_index = 2 113 113 task_name = 'load_%d_%d_%d' %(x,y,p) 114 114 elif ( p== 1 ): # task store … … 116 116 task_name = 'store_%d_%d_%d' %(x,y,p) 117 117 else : # task analyse 118 task_index = 2118 task_index = 0 119 119 task_name = 'analyse_%d_%d_%d' % (x,y,p) 120 120 -
soft/giet_vm/applications/convol/convol.py
r589 r610 54 54 mapping.addVseg( vspace, 'conv_data', data_base , data_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'b uild/convol/appli.elf',56 binpath = 'bin/convol/appli.elf', 57 57 local = False ) 58 58 … … 67 67 mapping.addVseg( vspace, 'conv_code_%d_%d' % (x,y), base, size, 68 68 'CXWU', vtype = 'ELF', x = x , y = y , pseg = 'RAM', 69 binpath = 'b uild/convol/appli.elf',69 binpath = 'bin/convol/appli.elf', 70 70 local = True ) 71 71 -
soft/giet_vm/applications/coproc/coproc.py
r589 r610 55 55 mapping.addVseg( vspace, 'coproc_data', data_base , data_size, 56 56 'C_WU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 57 binpath = 'b uild/coproc/appli.elf',57 binpath = 'bin/coproc/appli.elf', 58 58 local = False ) 59 59 … … 61 61 mapping.addVseg( vspace, 'coproc_code', code_base , code_size, 62 62 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 63 binpath = 'b uild/coproc/appli.elf',63 binpath = 'bin/coproc/appli.elf', 64 64 local = False ) 65 65 -
soft/giet_vm/applications/dhrystone/dhrystone.py
r589 r610 54 54 mapping.addVseg( vspace, 'dhry_data', data_base , data_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'b uild/dhrystone/appli.elf',56 binpath = 'bin/dhrystone/appli.elf', 57 57 local = False ) 58 58 … … 66 66 code_base , code_size, 67 67 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 68 binpath = 'b uild/dhrystone/appli.elf',68 binpath = 'bin/dhrystone/appli.elf', 69 69 local = True ) 70 70 -
soft/giet_vm/applications/display/display.py
r589 r610 38 38 mapping.addVseg( vspace, 'disp_data', data_base , data_size, 39 39 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 40 binpath = 'b uild/display/appli.elf',40 binpath = 'bin/display/appli.elf', 41 41 local = False ) 42 42 … … 44 44 mapping.addVseg( vspace, 'disp_code', code_base , code_size, 45 45 'CXWU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 46 binpath = 'b uild/display/appli.elf',46 binpath = 'bin/display/appli.elf', 47 47 local = False ) 48 48 -
soft/giet_vm/applications/gameoflife/gameoflife.py
r589 r610 54 54 mapping.addVseg( vspace, 'gol_data', data_base , data_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'b uild/gameoflife/appli.elf',56 binpath = 'bin/gameoflife/appli.elf', 57 57 local = False , big = True ) 58 58 … … 78 78 code_base , code_size, 79 79 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 80 binpath = 'b uild/gameoflife/appli.elf',80 binpath = 'bin/gameoflife/appli.elf', 81 81 local = True ) 82 82 -
soft/giet_vm/applications/ocean/ocean.py
r589 r610 57 57 mapping.addVseg( vspace, 'ocean_data', data_base , data_size, 58 58 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 59 binpath = 'b uild/ocean/appli.elf',59 binpath = 'bin/ocean/appli.elf', 60 60 local = False ) 61 61 … … 69 69 code_base , code_size, 70 70 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 71 binpath = 'b uild/ocean/appli.elf',71 binpath = 'bin/ocean/appli.elf', 72 72 local = True ) 73 73 -
soft/giet_vm/applications/router/router.py
r589 r610 54 54 mapping.addVseg( vspace, 'router_data_0', data_0_base , data_0_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'b uild/router/appli.elf',56 binpath = 'bin/router/appli.elf', 57 57 local = False ) 58 58 … … 60 60 mapping.addVseg( vspace, 'router_data_1', data_1_base , data_1_size, 61 61 'C_WU', vtype = 'ELF', x = x_size - 1, y = y_size - 1, pseg = 'RAM', 62 binpath = 'b uild/router/appli.elf',62 binpath = 'bin/router/appli.elf', 63 63 local = False ) 64 64 … … 68 68 mapping.addVseg( vspace, 'router_code_%d_%d' %(x,y), code_base , code_size, 69 69 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 70 binpath = 'b uild/router/router.elf',70 binpath = 'bin/router/router.elf', 71 71 local = True ) 72 72 -
soft/giet_vm/applications/shell/main.c
r589 r610 19 19 ////////////////////////////////////////// 20 20 { 21 giet_ shr_printf("\n[SHELL] Enter at cycle %d\n", giet_proctime());21 giet_tty_alloc(); 22 22 23 /////////////// diplay disk content 24 giet_shr_printf("\n#############################################################"); 23 giet_tty_printf("\n[SHELL] Enter at cycle %d\n", giet_proctime() ); 24 25 /////////////// display disk content 25 26 giet_fat_list( "/" ); 26 27 giet_fat_list( "/misc" ); 27 28 giet_fat_list( "/home" ); 28 giet_shr_printf("#############################################################\n");29 29 30 30 /////////////// open lena_256.raw … … 36 36 else 37 37 { 38 giet_ shr_printf("\n[SHELL] open lena_256.raw\n");38 giet_tty_printf("\n[SHELL] open lena_256.raw\n"); 39 39 } 40 40 … … 47 47 else 48 48 { 49 giet_ shr_printf("\n[SHELL] open copy.raw\n");49 giet_tty_printf("\n[SHELL] open copy.raw\n"); 50 50 } 51 51 … … 62 62 else 63 63 { 64 giet_ shr_printf("\n[SHELL] lena_256.raw loaded from device\n");64 giet_tty_printf("\n[SHELL] lena_256.raw loaded from device\n"); 65 65 } 66 66 … … 77 77 else 78 78 { 79 giet_ shr_printf("\n[SHELL] copy.raw stored to device\n");79 giet_tty_printf("\n[SHELL] copy.raw stored to device\n"); 80 80 } 81 81 … … 87 87 else 88 88 { 89 giet_ shr_printf("\n[SHELL] lena_256.raw closed\n");89 giet_tty_printf("\n[SHELL] lena_256.raw closed\n"); 90 90 } 91 91 … … 97 97 else 98 98 { 99 giet_ shr_printf("\n[SHELL] copy.raw closed\n");99 giet_tty_printf("\n[SHELL] copy.raw closed\n"); 100 100 } 101 101 102 102 ////////////// display disk content 103 giet_shr_printf("\n#############################################################");104 103 giet_fat_list( "/" ); 105 104 giet_fat_list( "/misc" ); 106 105 giet_fat_list( "/home" ); 107 giet_shr_printf("#############################################################\n");108 106 109 107 ///////////// rename copy.raw … … 114 112 else 115 113 { 116 giet_ shr_printf("\n[SHELL] /home/copy.raw renamed to /misc/copy_lena.raw\n");114 giet_tty_printf("\n[SHELL] /home/copy.raw renamed to /misc/copy_lena.raw\n"); 117 115 } 118 116 119 117 ////////////// display disk content 120 giet_shr_printf("\n#############################################################");121 118 giet_fat_list( "/" ); 122 119 giet_fat_list( "/misc" ); 123 120 giet_fat_list( "/home" ); 124 giet_shr_printf("#############################################################\n");125 121 126 122 ///////////// remove home … … 131 127 else 132 128 { 133 giet_ shr_printf("\n[SHELL] /home removed from file system\n");129 giet_tty_printf("\n[SHELL] /home removed from file system\n"); 134 130 } 135 131 136 132 ////////////// display disk content 137 giet_shr_printf("\n#############################################################");138 133 giet_fat_list( "/" ); 139 134 giet_fat_list( "/misc" ); 140 giet_shr_printf("#############################################################\n");141 135 142 136 //////////// create new_home … … 147 141 else 148 142 { 149 giet_ shr_printf("\n[SHELL] /new_home created in file system\n");143 giet_tty_printf("\n[SHELL] /new_home created in file system\n"); 150 144 } 151 145 152 146 ////////////// display disk content 153 giet_shr_printf("\n#############################################################");154 147 giet_fat_list( "/" ); 155 148 giet_fat_list( "/misc" ); 156 149 giet_fat_list( "/new_home" ); 157 giet_shr_printf("#############################################################\n");158 150 159 151 giet_exit("Completed"); -
soft/giet_vm/applications/shell/shell.py
r589 r610 38 38 mapping.addVseg( vspace, 'shell_data', data_base , data_size, 39 39 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 40 binpath = 'b uild/shell/appli.elf',40 binpath = 'bin/shell/appli.elf', 41 41 local = False ) 42 42 … … 44 44 mapping.addVseg( vspace, 'shell_code', code_base , code_size, 45 45 'CXWU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 46 binpath = 'b uild/shell/appli.elf',46 binpath = 'bin/shell/appli.elf', 47 47 local = False ) 48 48 -
soft/giet_vm/applications/sort/sort.py
r589 r610 50 50 mapping.addVseg( vspace, 'sort_data', data_base , data_size, 51 51 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 52 binpath = 'b uild/sort/appli.elf',52 binpath = 'bin/sort/appli.elf', 53 53 local = False ) 54 54 … … 61 61 mapping.addVseg( vspace, 'sort_code', code_base , code_size, 62 62 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 63 binpath = 'b uild/sort/appli.elf',63 binpath = 'bin/sort/appli.elf', 64 64 local = True ) 65 65 -
soft/giet_vm/applications/transpose/transpose.py
r589 r610 54 54 mapping.addVseg( vspace, 'trsp_data', data_base , data_size, 55 55 'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 56 binpath = 'b uild/transpose/appli.elf',56 binpath = 'bin/transpose/appli.elf', 57 57 local = False ) 58 58 … … 66 66 code_base , code_size, 67 67 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM', 68 binpath = 'b uild/transpose/appli.elf',68 binpath = 'bin/transpose/appli.elf', 69 69 local = True ) 70 70
Note: See TracChangeset
for help on using the changeset viewer.