- Timestamp:
- Nov 28, 2014, 12:54:35 PM (10 years ago)
- File:
-
- 1 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,
Note: See TracChangeset
for help on using the changeset viewer.