Index: branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
===================================================================
--- branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py	(revision 890)
+++ branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py	(revision 893)
@@ -89,8 +89,6 @@
     # define physical segments
     ram_base = 0x0000000000
-    if 1:
-        ram_size = 0x4000000              # 64 Mbytes
-    else:
-        ram_size = 0x0040000              # 256 Kbytes
+    if 1: ram_size = 0x4000000            # 64 Mbytes
+    else: ram_size = 0x0040000            # 256 Kbytes
 
     xcu_base = 0x00B0000000
@@ -337,12 +335,12 @@
                       x=X_IO, y=Y_IO, pseg='SIM', local=False, big=False)
 
+    # for the Giet-VM is not necessary to map the replicated ROMs
+    mapping.addGlobal('seg_rom', rom_base, rom_size, 'CX__', vtype='PERI',
+                      x=X_IO, y=Y_IO, pseg='ROM', local=False, big=True)
+
     # global vsegs for internal peripherals
     for x in xrange(x_size):
         for y in xrange(y_size):
             offset = pmsb(x, y) * PERI_INCREMENT
-
-            mapping.addGlobal('seg_rom_%d_%d' % (x, y), rom_base + offset,
-                              rom_size, 'CX__', vtype='PERI', x=x, y=y,
-                              pseg='ROM', local=False, big=False)
 
             mapping.addGlobal('seg_xcu_%d_%d' % (x, y), xcu_base + offset,
Index: branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
===================================================================
--- branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py	(revision 890)
+++ branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py	(revision 893)
@@ -111,7 +111,11 @@
         command.extend(["-MEMCID", str(args.debug[3])]);
     else:
-        command.extend(["-NCYCLES", "1000000"])
+        # by observation, the procedure grows linearly with the diameter of the mesh.
+        maxcycles = (args.x + args.y) * 20000;
+        command.extend(["-NCYCLES", str(maxcycles)])
 
-    print command
+    logfile.write("Execute: {0}\n".format(" ".join(command)))
+    logfile.flush()
+
     subprocess.call(command, stdout=logfile, stderr=logfile)
 
Index: branches/reconfiguration/platforms/tsar_generic_iob/scripts/run.py
===================================================================
--- branches/reconfiguration/platforms/tsar_generic_iob/scripts/run.py	(revision 890)
+++ branches/reconfiguration/platforms/tsar_generic_iob/scripts/run.py	(revision 893)
@@ -27,5 +27,5 @@
 faultylist.append([(0,0,1), (0,0,3)])           # 2 faulty cores
 faultylist.append([(1,0,0), (1,0,2), (1,0,3)])  # 1 faulty cluster
-faultylist.append([(1,0,0), (1,0,2), (1,0,3), 
+faultylist.append([(1,0,0), (1,0,2), (1,0,3),
                    (1,1,1), (1,1,2), (1,1,3)])  # 2 faulty cluster
 
