- Timestamp:
- Jun 12, 2015, 3:22:13 PM (10 years ago)
- Location:
- branches/reconfiguration/platforms/tsar_generic_iob
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py
r991 r1000 64 64 cluster(x,y)""" 65 65 66 return (x << X_WIDTH) | y66 return (x << Y_WIDTH) | y 67 67 68 68 def arch(x_size=2, -
branches/reconfiguration/platforms/tsar_generic_iob/scripts/random_faulty_core_router.py
r991 r1000 20 20 self.faultycore = [] 21 21 self.debug = None 22 self.linux = False 23 self.force = True 24 self.firmdebug = False 25 self.diskimage = "/dev/null" 26 self.ncycles = -1 27 self.threads = -1 22 28 23 29 self.xmax = self.x - 1 … … 84 90 SIM_FAULTFREE = False 85 91 SIM_FAULTCORES = False 86 SIM_FAULTROUTERS = True92 SIM_FAULTROUTERS = False 87 93 SIM_FAULTMIXED = False 94 SIM_CUSTOM = True 88 95 89 96 # probability of faulty router (for mixed simul) … … 94 101 RSP = 1 95 102 96 for xsize, ysize in [(4, 4), (4, 8), (8, 8), (8, 16), (16, 16)]: 103 # Mesh parameters list 104 MESH = [] 105 MESH.append((2, 2)) 106 MESH.append((2, 4)) 107 MESH.append((4, 4)) 108 MESH.append((4, 8)) 109 #MESH.append((8, 8)) 110 111 for xsize, ysize in MESH: 97 112 if SIM_FAULTFREE: 98 113 # --------------------------------------------------------------------- … … 101 116 cfgname = 'output_{0}_{1}'.format(xsize, ysize) 102 117 args = RunArguments(cfgname, xsize, ysize) 118 onerun.run(args) 119 120 if SIM_CUSTOM: 121 # ----------------------------------------------------------------- 122 # simulation with list of faulty routers and cores 123 # ----------------------------------------------------------------- 124 cfgname = 'output_custom_{0}_{1}_fc'.format(xsize, ysize) 125 args = RunArguments(cfgname, xsize, ysize) 126 # args.add_faultyrouter((RSP, args.xmax - 1, args.ymax - 1)) 127 args.add_faultycore((0, 0, 0)) 103 128 onerun.run(args) 104 129 -
branches/reconfiguration/platforms/tsar_generic_iob/top.cpp
r989 r1000 1226 1226 std::cout << std::endl; 1227 1227 1228 // clusters[0][0]->xicu->set_faulty_wti(3, 0); 1229 1228 1230 /////////////////////////////////////////////////////////////////////////////// 1229 1231 // Net-list -
branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
r995 r1000 98 98 assert( (x_id < x_size) and (y_id < y_size) and "Illegal cluster coordinates"); 99 99 100 size_t cluster_id = (x_id << x_width) | y_id;100 size_t cluster_id = (x_id << y_width) | y_id; 101 101 102 102 // Vectors of DSPIN ports for inter-cluster communications
Note: See TracChangeset
for help on using the changeset viewer.