Ignore:
Timestamp:
Dec 11, 2014, 4:52:15 PM (9 years ago)
Author:
cfuguet
Message:

reconf: any router in any NoC can be faulty. Moreover, each NoC has its
own config register in the XICU.

File:
1 edited

Legend:

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

    r902 r904  
    2121    compileonly  -- stops after platform's compilation
    2222    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)
    2424    faultymask   -- a mask of disabled routers' interfaces
    2525    faultycore   -- a list containing faulty cores' coordinates (x, y, l)
     
    103103        command.extend(["-FAULTY_MASK", str(args.faultymask)])
    104104        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])])
    106106
    107107    if args.debug != None:
     
    112112    else:
    113113        # 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;
    115115        command.extend(["-NCYCLES", str(maxcycles)])
    116116
     
    158158
    159159    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')
    162162
    163163    parser.add_argument(
Note: See TracChangeset for help on using the changeset viewer.