Ignore:
Timestamp:
Nov 28, 2014, 12:54:35 PM (10 years ago)
Author:
cfuguet
Message:

reconf: remove vsegs for the replicated ROMs

  • Vsegs definition in the arch.py concerns only the Giet-VM and as it does not use the replicated ROMs is useless to map them.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py

    r876 r893  
    8989    # define physical segments
    9090    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
    9593
    9694    xcu_base = 0x00B0000000
     
    337335                      x=X_IO, y=Y_IO, pseg='SIM', local=False, big=False)
    338336
     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
    339341    # global vsegs for internal peripherals
    340342    for x in xrange(x_size):
    341343        for y in xrange(y_size):
    342344            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)
    347345
    348346            mapping.addGlobal('seg_xcu_%d_%d' % (x, y), xcu_base + offset,
Note: See TracChangeset for help on using the changeset viewer.