Changeset 893 for branches


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.
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  
    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,
  • branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py

    r890 r893  
    111111        command.extend(["-MEMCID", str(args.debug[3])]);
    112112    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)])
    114116
    115     print command
     117    logfile.write("Execute: {0}\n".format(" ".join(command)))
     118    logfile.flush()
     119
    116120    subprocess.call(command, stdout=logfile, stderr=logfile)
    117121
  • branches/reconfiguration/platforms/tsar_generic_iob/scripts/run.py

    r784 r893  
    2727faultylist.append([(0,0,1), (0,0,3)])           # 2 faulty cores
    2828faultylist.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), 
     29faultylist.append([(1,0,0), (1,0,2), (1,0,3),
    3030                   (1,1,1), (1,1,2), (1,1,3)])  # 2 faulty cluster
    3131
Note: See TracChangeset for help on using the changeset viewer.