Changeset 1030 for trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba
- Timestamp:
- Jan 16, 2016, 7:44:23 PM (9 years ago)
- Location:
- trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h
r1002 r1030 261 261 262 262 uint32_t frozen_cycles, 263 uint32_t start_debug_cycle, 264 bool memc_debug_ok, 265 bool proc_debug_ok, 266 bool iob0_debug_ok ); 263 bool debug_ok, 264 uint32_t debug_start_cycle, 265 uint32_t debug_proc_id, 266 uint32_t debug_memc_id, 267 bool debug_iob ); 267 268 268 269 protected: -
trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
r1002 r1030 83 83 84 84 uint32_t frozen_cycles, 85 bool debug_ok, 85 86 uint32_t debug_start_cycle, 86 bool memc_debug_ok,87 bool proc_debug_ok,88 bool iob_debug_ok)87 uint32_t debug_proc_id, 88 uint32_t debug_memc_id, 89 bool debug_iob ) 89 90 : soclib::caba::BaseModule(insname), 90 91 p_clk("clk"), … … 129 130 ////////////////////////////////////////////////////////////////////////////////// 130 131 132 size_t x_debug; 133 size_t y_debug; 134 size_t p_debug; 135 131 136 //////////// PROCS ///////////////////////////////////////////////////////////// 132 137 for (size_t p = 0; p < nb_procs; p++) 133 138 { 134 139 std::ostringstream s_proc; 140 x_debug = (debug_proc_id >> (y_width + p_width)) & ((1<<x_width)-1); 141 y_debug = (debug_proc_id >> p_width ) & ((1<<y_width)-1); 142 p_debug = (debug_proc_id ) & ((1<<p_width)-1); 143 144 135 145 s_proc << "proc_" << x_id << "_" << y_id << "_" << p; 136 146 proc[p] = new VciCcVCacheWrapper<vci_param_int, … … 155 165 frozen_cycles, // max frozen cycles 156 166 debug_start_cycle, 157 proc_debug_ok);167 debug_ok and (x_id == x_debug) and (y_id == y_debug) and (p_debug == p) ); 158 168 } 159 169 … … 161 171 std::ostringstream s_memc; 162 172 s_memc << "memc_" << x_id << "_" << y_id; 173 x_debug = (debug_memc_id >> y_width) & ((1<<x_width)-1); 174 y_debug = (debug_memc_id ) & ((1<<y_width)-1); 163 175 memc = new VciMemCache<vci_param_int, 164 176 vci_param_ext, … … 179 191 8, // INVALIDATE TABLE DEPTH 180 192 debug_start_cycle, 181 memc_debug_ok);193 debug_ok and (x_id == x_debug) and (y_id = y_debug) ); 182 194 183 195 std::ostringstream s_wi_memc; … … 437 449 8, // IOTLB sets 438 450 debug_start_cycle, 439 iob_debug_ok);451 debug_iob ); 440 452 441 453 std::ostringstream s_iob_ram_wi;
Note: See TracChangeset
for help on using the changeset viewer.