Changeset 1027 for branches/reconfiguration
- Timestamp:
- Dec 20, 2015, 7:30:47 PM (9 years ago)
- Location:
- branches/reconfiguration/platforms/tsar_generic_iob
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
r991 r1027 200 200 parser.add_argument( 201 201 '--faulty-router', '-fr', dest='faultyrouter', action='append', nargs=3, 202 help='ID (T,X,Y) of faulty router. The T is 0:CMD, 1:RSP') 202 help='ID (T,X,Y) of faulty router. \ 203 The T is 0:CMD, 1:RSP, 2:M2P, 3:P2M, 4:CLACK. \ 204 The three arguments are space-separated. \ 205 (e.g. -fr 2 1 1, router M2P (1,1) is deactivated') 203 206 204 207 parser.add_argument( … … 208 211 parser.add_argument( 209 212 '--faulty-core', '-fc', dest='faultycore', action='append', nargs=3, 210 help='ID (X,Y,L) of faulty processor') 213 help='ID (X,Y,L) of faulty processor. \ 214 The three arguments are space-separated. \ 215 (e.g. -fc 0 1 3, core (0,1,3) is deactivated') 211 216 212 217 parser.add_argument( … … 224 229 parser.add_argument( 225 230 '--disk-image', '-di', dest='diskimage', default="/dev/null", 226 help='relative or absolute path to the external firmware')231 help='relative or absolute path to the disk image used by the IOC') 227 232 228 233 parser.add_argument( -
branches/reconfiguration/platforms/tsar_generic_iob/soclib.conf
r957 r1027 1 from os import environ 2 from os.path import join 3 1 4 # append compilation flags 2 cflags = config.default.toolchain.cflags 5 #cflags = config.default.toolchain.cflags 6 #cflags.extend(['-Wno-unknown-warning-option']) 3 7 #cflags.extend(['-ggdb']) 4 config.default.toolchain.set("cflags", cflags)8 #config.default.toolchain.set("cflags", cflags) 5 9 6 10 # append modules' description file paths 7 from os import environ 8 from os.path import join 11 # set the TSARPATH env variable to the path of TSAR's soclib working directory 12 # (e.g. export TSARPATH=<path_to_tsar>). Otherwise, modify hereafter the 13 # tsarpath variable, and set the path explicitly. 9 14 tsarpath = environ['TSARPATH'] 10 15 config.addDescPath(join(tsarpath, "trunk/lib")) -
branches/reconfiguration/platforms/tsar_generic_iob/top.cpp
r1015 r1027 474 474 } 475 475 476 // Activate Distributed Boot (set by environment variable)477 // When this is activated, every processor boots with its instruction and data478 // physical address extension register initialized to its cluster index479 // (X_LOCAL, Y_LOCAL). To support this feature, a distributed ROM is480 // implemented in each cluster.481 482 const bool distributed_boot = (getenv("DISTRIBUTED_BOOT") != NULL);483 484 476 // checking hardware parameters 485 477 assert( (X_SIZE <= (1 << X_WIDTH)) and … … 514 506 << " - RAM_LATENCY = " << XRAM_LATENCY << std::endl 515 507 << " - MAX_FROZEN = " << frozen_cycles << std::endl 516 << " - DIST_BOOT = " << distributed_boot << std::endl517 508 << " - DEBUG_PROCID = " << debug_proc_id << std::endl 518 509 << " - DEBUG_MEMCID = " << debug_memc_id << std::endl … … 1170 1161 IRQ_PER_PROCESSOR, 1171 1162 1172 distributed_boot,1173 1163 disable_cluster_procs[x][y], 1174 1164 -
branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h
r1015 r1027 241 241 size_t irq_per_proc, 242 242 243 bool distboot,244 243 bool disable_procs, 245 244 -
branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
r1015 r1027 79 79 size_t irq_per_proc, 80 80 81 bool distboot,82 81 bool disable_procs, 83 82 … … 156 155 // initialize physical address extension with cluster ID when using 157 156 // distributed boot 158 if (distboot) 159 { 160 proc[p]->set_dcache_paddr_ext_reset(cluster_id); 161 proc[p]->set_icache_paddr_ext_reset(cluster_id); 162 } 157 proc[p]->set_dcache_paddr_ext_reset(cluster_id); 158 proc[p]->set_icache_paddr_ext_reset(cluster_id); 163 159 } 164 160
Note: See TracChangeset
for help on using the changeset viewer.