Changeset 571 for trunk/softs/test_llsc/scripts/test_llsc.py
- Timestamp:
- Oct 31, 2013, 5:47:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/test_llsc/scripts/test_llsc.py
r546 r571 15 15 cluster_x = int(sys.argv[1]) 16 16 cluster_y = int(sys.argv[2]) 17 memspace_size = int(sys.argv[3]) 17 memspace_size = int(sys.argv[3]) * 4 18 18 19 19 nb_procs = 4 … … 27 27 'table': MemspacePort(), 28 28 'barrier': BarrierPort(), 29 'barrier2': BarrierPort(), 29 30 }, 30 31 impls = [ … … 44 45 'table': MemspacePort(), 45 46 'barrier': BarrierPort(), 47 'barrier2': BarrierPort(), 46 48 'id' : ConstPort(), 47 49 }, … … 57 59 58 60 barrier = Barrier('barrier') 61 barrier2 = Barrier('barrier2') 59 62 memspace = Memspace('memspace', memspace_size) 60 63 … … 66 69 'table' : memspace, 67 70 'barrier' : barrier, 71 'barrier2' : barrier2, 68 72 }, 69 73 defines = {} ), … … 75 79 'table' : memspace, 76 80 'barrier' : barrier, 81 'barrier2' : barrier2, 77 82 'id' : i, 78 83 }, 79 84 defines = {} ), 80 85 81 82 83 84 86 tcg = dsx.Tcg('test_llsc', *tasks) 85 87 86 mpr = Mapper(hd ,tcg)88 mpr = Mapper(hd, tcg) 87 89 88 90 mpr.map('task_llsc_main', cluster = 0, proc = 0, stack = "PSEG_RAM_0") … … 95 97 mpr.map(const, pseg = 'PSEG_RAM_0') 96 98 99 97 100 mpr.map('memspace', pseg = "PSEG_RAM_0") 98 101 mpr.map('barrier', pseg = "PSEG_RAM_0") 102 mpr.map('barrier2', pseg = "PSEG_RAM_0") 99 103 100 104 mpr.map(tcg, code = 'PSEG_RAM_0', data = 'PSEG_RAM_0', ptab = "PSEG_RAM_0") 101 105 mpr.map('system', boot = 'PSEG_RAM_0', kernel = 'PSEG_RAM_0', scheduler = True) 102 106 103 mpr.generate(dsx.Giet(outdir = '.', vaddr_replicated_peri_inc = 0x2000, debug = True))107 mpr.generate(dsx.Giet(outdir = '.', vaddr_replicated_peri_inc = 0x2000, debug = False)) 104 108
Note: See TracChangeset
for help on using the changeset viewer.