- Timestamp:
- Dec 11, 2014, 4:52:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
r902 r904 21 21 compileonly -- stops after platform's compilation 22 22 batchmode -- TTY and FB are only redirected to FILES 23 faultyrouter -- a list containing faulty routers' coordinates ( x, y)23 faultyrouter -- a list containing faulty routers' coordinates (t, x, y) 24 24 faultymask -- a mask of disabled routers' interfaces 25 25 faultycore -- a list containing faulty cores' coordinates (x, y, l) … … 103 103 command.extend(["-FAULTY_MASK", str(args.faultymask)]) 104 104 for f in args.faultyrouter: 105 command.extend(["-FAULTY_ROUTER", str(f[0]), str(f[1]) ])105 command.extend(["-FAULTY_ROUTER", str(f[0]), str(f[1]), str(f[2])]) 106 106 107 107 if args.debug != None: … … 112 112 else: 113 113 # by observation, the procedure grows linearly with the diameter of the mesh. 114 maxcycles = 150000 + (args.x + args.y) * 20000;114 maxcycles = 400000 + (args.x + args.y) * 20000; 115 115 command.extend(["-NCYCLES", str(maxcycles)]) 116 116 … … 158 158 159 159 parser.add_argument( 160 '--faulty-router', '-fr', dest='faultyrouter', action='append', nargs= 2,161 help='ID ( X,Y) of faulty router')160 '--faulty-router', '-fr', dest='faultyrouter', action='append', nargs=3, 161 help='ID (T,X,Y) of faulty router. The T is 0:CMD, 1:RSP') 162 162 163 163 parser.add_argument(
Note: See TracChangeset
for help on using the changeset viewer.