Changeset 338 for soft/giet_vm/giet_python
- Timestamp:
- Jun 19, 2014, 1:37:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/genmap
r328 r338 8 8 # This generic script maps one or several multi-tasks applications on a specific 9 9 # instance of the multi-processors/multi-clusters TSAR architecture. 10 #11 10 # It generates the files required for hardware and software compilation: 12 #13 11 # 1) The "hard_config.h" file is used to generate the top.cppnetbsd file (hardware), 14 12 # and to compile the tsar_preloader.elf, the GietVM boot.elf and kernel.elf files. 15 #16 13 # 2) The optionals "map.bin" and vsegs.ld" files are used to configure the GietVM. 17 #18 14 # 3) The optional "netbsd.dts" file can be used to configure NetBSD. 19 #20 15 # 4) The optional "arch.bib" file can be used to configure ALMOS. 21 #22 16 # 5) An optional "map.xml" file can be generated for debug. 23 17 ####################################################################################### … … 94 88 help = 'map the "sort" application for the GietVM' ) 95 89 96 parser.add_option( '--convol', action = 'store_true', dest = ' filt',90 parser.add_option( '--convol', action = 'store_true', dest = 'convol', 97 91 default = False, 98 92 help = 'map the "convol" application for the GietVM' ) … … 120 114 map_transpose = options.transpose # map "transpose" application if True 121 115 map_sort = options.sort # map "sort" application if True 122 map_convol = options. filt# map "convol" application if True116 map_convol = options.convol # map "convol" application if True 123 117 124 118 ###################################################################################### … … 134 128 135 129 # dynamically import the PYTHON mapping generator module (file name) 136 select = __import__( ' genmap' )130 select = __import__( 'arch' ) 137 131 138 132 # build mapping calling the function (function name) 139 mapping = select. genmap( x_size, y_size, nprocs )133 mapping = select.arch( x_size, y_size, nprocs ) 140 134 print '[genmap] platform %s build' % mapping.name 141 135
Note: See TracChangeset
for help on using the changeset viewer.