Changeset 907 for branches/reconfiguration/platforms/tsar_generic_iob
- Timestamp:
- Dec 12, 2014, 4:52:48 PM (10 years ago)
- Location:
- branches/reconfiguration/platforms/tsar_generic_iob/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r900 r907 358 358 return mapping 359 359 360 def main(x, y, p, hard_path, xml_path ):360 def main(x, y, p, hard_path, xml_path, dts_path): 361 361 """main function: it generates the map.xml and the hard_config.h file based 362 362 on the Mapping object returned by arch()""" … … 369 369 with open(hard_path, "w") as hard_config: 370 370 hard_config.write(mapping.hard_config()) 371 with open(dts_path, "w") as linux_dts: 372 linux_dts.write(mapping.linux_dts()) 371 373 372 374 ################################# platform test ################################ … … 377 379 p=int(sys.argv[3]), 378 380 hard_path="hard_config.test.h", 379 xml_path="map.test.xml") 381 xml_path="map.test.xml", 382 dts_path="linux.dts") 380 383 381 384 # Local Variables: -
branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
r906 r907 43 43 faultpath = os.path.join(outdir, "config/fault_config.h") 44 44 hardpath = os.path.join(outdir, "config/hard_config.h") 45 xmlpath = os.path.join(outdir, "config/map.xml") 46 arch.main(args.x, args.y, args.nprocs, hardpath, xmlpath) 45 xmlpath = os.path.join(outdir, "config/giet.map.xml") 46 dtspath = os.path.join(outdir, "config/linux.dts") 47 arch.main(args.x, args.y, args.nprocs, hardpath, xmlpath, dtspath) 47 48 faultyprocs.generate(args.faultycore, faultpath) 48 49
Note: See TracChangeset
for help on using the changeset viewer.