Changeset 520 for soft/giet_vm/giet_python/genmap
- Timestamp:
- Mar 10, 2015, 3:12:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/genmap
r500 r520 6 6 # author : Alain Greiner 7 7 ####################################################################################### 8 # This generic script maps one or several multi-tasksapplications on a specific8 # This generic script maps one or several applications on a specific 9 9 # instance of the multi-processors/multi-clusters TSAR architecture. 10 10 # It generates the files required for hardware and software compilation: 11 # 1) The "hard_config.h" file is used to generate the top.cpp netbsdfile (hardware),11 # 1) The "hard_config.h" file is used to generate the top.cpp file (hardware), 12 12 # and to compile the tsar_preloader.elf, the GietVM boot.elf and kernel.elf files. 13 13 # 2) The optionals "map.bin" and vsegs.ld" files are used to configure the GietVM. … … 27 27 # - tsar_generic_iob 28 28 # - tsar_generic_leti 29 # - tsar_geberic_mwmr 29 30 ####################################################################################### 30 31 # The supported applications are: … … 36 37 # - display 37 38 # - gameoflife 39 # - coproc 38 40 ####################################################################################### 39 41 … … 123 125 default = False, 124 126 help = 'map the "gameoflife" application for the GietVM' ) 127 128 parser.add_option( '--coproc', action = 'store_true', dest = 'coproc', 129 default = False, 130 help = 'map the "coproc" application for the GietVM' ) 125 131 126 132 ###################################################################################### … … 155 161 map_classif = options.classif # map "classif" application if True 156 162 map_gameoflife = options.gameoflife # map "gameoflife" application if True 163 map_coproc = options.coproc # map "coproc" application if True 157 164 158 165 ###################################################################################### … … 213 220 print '[genmap] application "gameoflife" will be loaded' 214 221 222 if ( map_coproc ): 223 app = __import__( 'coproc' ) 224 app.coproc( mapping ) 225 print '[genmap] application "coproc" will be loaded' 226 215 227 ###################################################################################### 216 228 # Generate xml file if required.
Note: See TracChangeset
for help on using the changeset viewer.