- Timestamp:
- Jul 24, 2013, 8:47:40 AM (11 years ago)
- Location:
- trunk/modules/vci_cc_vcache_wrapper
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper
-
Property
svn:mergeinfo
set to
/branches/v5/modules/vci_cc_vcache_wrapper merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h
r432 r468 89 89 // handling coherence requests 90 90 ICACHE_CC_CHECK, 91 ICACHE_CC_UPDT, 91 92 ICACHE_CC_INVAL, 92 ICACHE_CC_UPDT,93 ICACHE_CC_BROADCAST,94 ICACHE_CC_SEND_WAIT,95 93 }; 96 94 … … 138 136 // handling coherence requests 139 137 DCACHE_CC_CHECK, 138 DCACHE_CC_UPDT, 140 139 DCACHE_CC_INVAL, 141 DCACHE_CC_UPDT,142 DCACHE_CC_BROADCAST,143 DCACHE_CC_SEND_WAIT,144 140 // handling TLB inval (after a coherence or XTN request) 145 141 DCACHE_INVAL_TLB_SCAN, … … 173 169 { 174 170 CC_RECEIVE_IDLE, 175 CC_RECEIVE_CLACK,176 171 CC_RECEIVE_BRDCAST_HEADER, 177 172 CC_RECEIVE_BRDCAST_NLINE, 178 CC_RECEIVE_INVAL_HEADER, 179 CC_RECEIVE_INVAL_NLINE, 180 CC_RECEIVE_UPDT_HEADER, 181 CC_RECEIVE_UPDT_NLINE, 182 CC_RECEIVE_UPDT_DATA, 173 CC_RECEIVE_INS_INVAL_HEADER, 174 CC_RECEIVE_INS_INVAL_NLINE, 175 CC_RECEIVE_INS_UPDT_HEADER, 176 CC_RECEIVE_INS_UPDT_NLINE, 177 CC_RECEIVE_INS_UPDT_DATA, 178 CC_RECEIVE_DATA_INVAL_HEADER, 179 CC_RECEIVE_DATA_INVAL_NLINE, 180 CC_RECEIVE_DATA_UPDT_HEADER, 181 CC_RECEIVE_DATA_UPDT_NLINE, 182 CC_RECEIVE_DATA_UPDT_DATA, 183 183 }; 184 184 … … 285 285 286 286 public: 287 sc_in<bool> p_clk; 288 sc_in<bool> p_resetn; 289 sc_in<bool> p_irq[iss_t::n_irq]; 290 soclib::caba::VciInitiator<vci_param> p_vci; 291 soclib::caba::DspinInput <dspin_in_width> p_dspin_in; 292 soclib::caba::DspinOutput<dspin_out_width> p_dspin_out; 287 sc_in<bool> p_clk; 288 sc_in<bool> p_resetn; 289 sc_in<bool> p_irq[iss_t::n_irq]; 290 soclib::caba::VciInitiator<vci_param> p_vci; 291 soclib::caba::DspinInput<dspin_in_width> p_dspin_m2p; 292 soclib::caba::DspinOutput<dspin_out_width> p_dspin_p2m; 293 soclib::caba::DspinInput<dspin_in_width> p_dspin_clack; 293 294 294 295 private: … … 371 372 sc_signal<bool> r_icache_cc_need_write; // activate the cache for writing 372 373 374 // coherence clack handling 375 sc_signal<bool> r_icache_clack_req; // clack request 376 sc_signal<size_t> r_icache_clack_way; // clack way 377 sc_signal<size_t> r_icache_clack_set; // clack set 378 373 379 // icache flush handling 374 380 sc_signal<size_t> r_icache_flush_count; // slot counter used for cache flush … … 444 450 sc_signal<bool> r_dcache_cc_need_write; // activate the cache for writing 445 451 452 // coherence clack handling 453 sc_signal<bool> r_dcache_clack_req; // clack request 454 sc_signal<size_t> r_dcache_clack_way; // clack way 455 sc_signal<size_t> r_dcache_clack_set; // clack set 456 446 457 // dcache flush handling 447 458 sc_signal<size_t> r_dcache_flush_count; // slot counter used for cache flush … … 537 548 sc_signal<paddr_t> r_cc_receive_dcache_nline; // cache line physical address 538 549 550 /////////////////////////////////// 551 // DSPIN CLACK INTERFACE REGISTER 552 /////////////////////////////////// 553 sc_signal<bool> r_dspin_clack_req; 554 sc_signal<uint64_t> r_dspin_clack_flit; 555 539 556 ////////////////////////////////////////////////////////////////// 540 557 // processor, write buffer, caches , TLBs
Note: See TracChangeset
for help on using the changeset viewer.