Changeset 500
- Timestamp:
- Feb 8, 2015, 6:44:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/genmap
r462 r500 35 35 # - classif 36 36 # - display 37 # - gameoflife 37 38 ####################################################################################### 38 39 … … 119 120 help = 'map the "classif" application for the GietVM' ) 120 121 122 parser.add_option( '--gameoflife', action = 'store_true', dest = 'gameoflife', 123 default = False, 124 help = 'map the "gameoflife" application for the GietVM' ) 125 121 126 ###################################################################################### 122 127 # Get command line arguments … … 125 130 (options,args) = parser.parse_args() 126 131 127 x_size = options.x_size # number of clusters in a row 128 y_size = options.y_size # number of clusters in a column 129 nb_procs = options.nb_procs # number of processors in a cluster 130 nb_ttys = options.nb_ttys # number of TTY channels 131 fbf_size = options.fbf_size # frame buffer width & heigth 132 133 verbose = options.verbose # report on map.bin generation if True 134 135 netbsd_path = options.netbsd_path # path for netbsd.dts file 136 linux_path = options.linux_path # path for linux.dts file 137 almos_path = options.almos_path # path for arch.bib file 138 giet_path = options.giet_path # path for map.bin & vsegs.ld files 139 hard_path = options.hard_path # path for the hard_config.h file 140 141 arch_path = options.arch_path # path to selected architecture 142 143 xml_path = options.xml_path # path for map.xml file 144 145 map_transpose = options.transpose # map "transpose" application if True 146 map_sort = options.sort # map "sort" application if True 147 map_convol = options.convol # map "convol" application if True 148 map_router = options.router # map "router" application if True 149 map_display = options.display # map "display" application if True 150 map_classif = options.classif # map "classif" application if True 132 x_size = options.x_size # number of clusters in a row 133 y_size = options.y_size # number of clusters in a column 134 nb_procs = options.nb_procs # number of processors in a cluster 135 nb_ttys = options.nb_ttys # number of TTY channels 136 fbf_size = options.fbf_size # frame buffer width & heigth 137 138 verbose = options.verbose # report on map.bin generation if True 139 140 netbsd_path = options.netbsd_path # path for netbsd.dts file 141 linux_path = options.linux_path # path for linux.dts file 142 almos_path = options.almos_path # path for arch.bib file 143 giet_path = options.giet_path # path for map.bin & vsegs.ld files 144 hard_path = options.hard_path # path for the hard_config.h file 145 146 arch_path = options.arch_path # path to selected architecture 147 148 xml_path = options.xml_path # path for map.xml file 149 150 map_transpose = options.transpose # map "transpose" application if True 151 map_sort = options.sort # map "sort" application if True 152 map_convol = options.convol # map "convol" application if True 153 map_router = options.router # map "router" application if True 154 map_display = options.display # map "display" application if True 155 map_classif = options.classif # map "classif" application if True 156 map_gameoflife = options.gameoflife # map "gameoflife" application if True 151 157 152 158 ###################################################################################### … … 202 208 print '[genmap] application "classif" will be loaded' 203 209 210 if ( map_gameoflife ): 211 app = __import__( 'gameoflife' ) 212 app.gameoflife( mapping ) 213 print '[genmap] application "gameoflife" will be loaded' 214 204 215 ###################################################################################### 205 216 # Generate xml file if required.
Note: See TracChangeset
for help on using the changeset viewer.