Changeset 959 for trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba
- Timestamp:
- Mar 27, 2015, 5:21:52 PM (10 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
r802 r959 70 70 // interrupt signals 71 71 sc_signal<bool> signal_false; 72 sc_signal<bool> signal_proc_it[ 16];72 sc_signal<bool> signal_proc_it[32]; 73 73 sc_signal<bool> signal_irq_mdma[8]; 74 74 sc_signal<bool> signal_irq_memc; … … 198 198 const soclib::common::MappingTable &mt_iox, 199 199 200 size_t x_width, 201 size_t y_width, 202 size_t l_width, 203 size_t p_width, 200 size_t x_width, // x field bits 201 size_t y_width, // y field bits 202 size_t l_width, // l field bits 203 size_t p_width, // p field bits 204 204 205 205 size_t int_memc_tgt_id, … … 226 226 size_t l1_d_sets, 227 227 size_t xram_latency, 228 size_t xcu_nb_inputs, 229 230 const Loader &loader, // loader for XRAM 228 size_t xcu_nb_hwi, 229 size_t xcu_nb_pti, 230 size_t xcu_nb_wti, 231 size_t xcu_nb_irq, 232 233 const Loader &loader, // loader for XRAM 231 234 232 235 uint32_t frozen_cycles, -
trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
r802 r959 72 72 size_t l1_d_sets, 73 73 size_t xram_latency, 74 size_t xcu_nb_inputs, 74 size_t xcu_nb_hwi, 75 size_t xcu_nb_pti, 76 size_t xcu_nb_wti, 77 size_t xcu_nb_out, 75 78 76 79 const Loader &loader, … … 178 181 mt_int, // mapping table INT network 179 182 IntTab(cluster_id, int_xicu_tgt_id), // TGTID direct space 180 xcu_nb_ inputs,// number of timer IRQs181 xcu_nb_ inputs,// number of hard IRQs182 xcu_nb_ inputs,// number of soft IRQs183 16);// number of output IRQs183 xcu_nb_pti, // number of timer IRQs 184 xcu_nb_hwi, // number of hard IRQs 185 xcu_nb_wti, // number of soft IRQs 186 xcu_nb_out); // number of output IRQs 184 187 185 188 //////////// MDMA … … 503 506 xicu->p_resetn (this->p_resetn); 504 507 xicu->p_vci (signal_int_vci_tgt_xicu); 505 for ( size_t i=0 ; i < 16; i++)508 for ( size_t i=0 ; i < xcu_nb_out ; i++) 506 509 { 507 510 xicu->p_irq[i] (signal_proc_it[i]); 508 511 } 509 for ( size_t i=0 ; i < xcu_nb_ inputs; i++)512 for ( size_t i=0 ; i < xcu_nb_hwi ; i++) 510 513 { 511 514 if ( i == 0 ) xicu->p_hwi[i] (signal_irq_memc);
Note: See TracChangeset
for help on using the changeset viewer.