Changeset 893 for branches/reconfiguration
- Timestamp:
- Nov 28, 2014, 12:54:35 PM (10 years ago)
- Location:
- branches/reconfiguration/platforms/tsar_generic_iob/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r876 r893 89 89 # define physical segments 90 90 ram_base = 0x0000000000 91 if 1: 92 ram_size = 0x4000000 # 64 Mbytes 93 else: 94 ram_size = 0x0040000 # 256 Kbytes 91 if 1: ram_size = 0x4000000 # 64 Mbytes 92 else: ram_size = 0x0040000 # 256 Kbytes 95 93 96 94 xcu_base = 0x00B0000000 … … 337 335 x=X_IO, y=Y_IO, pseg='SIM', local=False, big=False) 338 336 337 # for the Giet-VM is not necessary to map the replicated ROMs 338 mapping.addGlobal('seg_rom', rom_base, rom_size, 'CX__', vtype='PERI', 339 x=X_IO, y=Y_IO, pseg='ROM', local=False, big=True) 340 339 341 # global vsegs for internal peripherals 340 342 for x in xrange(x_size): 341 343 for y in xrange(y_size): 342 344 offset = pmsb(x, y) * PERI_INCREMENT 343 344 mapping.addGlobal('seg_rom_%d_%d' % (x, y), rom_base + offset,345 rom_size, 'CX__', vtype='PERI', x=x, y=y,346 pseg='ROM', local=False, big=False)347 345 348 346 mapping.addGlobal('seg_xcu_%d_%d' % (x, y), xcu_base + offset, -
branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
r890 r893 111 111 command.extend(["-MEMCID", str(args.debug[3])]); 112 112 else: 113 command.extend(["-NCYCLES", "1000000"]) 113 # by observation, the procedure grows linearly with the diameter of the mesh. 114 maxcycles = (args.x + args.y) * 20000; 115 command.extend(["-NCYCLES", str(maxcycles)]) 114 116 115 print command 117 logfile.write("Execute: {0}\n".format(" ".join(command))) 118 logfile.flush() 119 116 120 subprocess.call(command, stdout=logfile, stderr=logfile) 117 121 -
branches/reconfiguration/platforms/tsar_generic_iob/scripts/run.py
r784 r893 27 27 faultylist.append([(0,0,1), (0,0,3)]) # 2 faulty cores 28 28 faultylist.append([(1,0,0), (1,0,2), (1,0,3)]) # 1 faulty cluster 29 faultylist.append([(1,0,0), (1,0,2), (1,0,3), 29 faultylist.append([(1,0,0), (1,0,2), (1,0,3), 30 30 (1,1,1), (1,1,2), (1,1,3)]) # 2 faulty cluster 31 31
Note: See TracChangeset
for help on using the changeset viewer.