- Timestamp:
- Mar 18, 2013, 3:45:25 PM (12 years ago)
- Location:
- branches/v5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/communication/dspin_dhccp_param/caba/source/include/dspin_dhccp_param.h
r313 r328 239 239 TYPE_MULTI_INVAL_DATA = TYPE_MULTI_INVAL, 240 240 TYPE_MULTI_INVAL_INST = 3, 241 TYPE_CLEANUP_ACK = 4 241 TYPE_CLEANUP_ACK = 4, 242 TYPE_CLEANUP_ACK_DATA = TYPE_CLEANUP_ACK, 243 TYPE_CLEANUP_ACK_INST = 5 242 244 }; 243 245 -
branches/v5/modules/vci_mem_cache_dspin_coherence/caba/source/include/vci_mem_cache.h
r313 r328 664 664 sc_signal<size_t> r_cleanup_to_cc_send_set_index; // L1 set index 665 665 sc_signal<size_t> r_cleanup_to_cc_send_way_index; // L1 way index 666 sc_signal<bool> r_cleanup_to_cc_send_inst; // Instruction Cleanup Ack 666 667 667 668 /////////////////////////////////////////////////////// -
branches/v5/modules/vci_mem_cache_dspin_coherence/caba/source/src/vci_mem_cache.cpp
r320 r328 4536 4536 r_cleanup_to_cc_send_way_index = r_cleanup_way_index.read(); 4537 4537 r_cleanup_to_cc_send_srcid = r_cleanup_srcid.read(); 4538 r_cleanup_to_cc_send_inst = r_cleanup_inst.read(); 4538 4539 4539 4540 r_cleanup_fsm = CLEANUP_IDLE; … … 7331 7332 uint64_t flit = 0; 7332 7333 7334 uint8_t cleanup_ack_type; 7335 if(r_cleanup_to_cc_send_inst.read()) 7336 { 7337 cleanup_ack_type = DspinDhccpParam::TYPE_CLEANUP_ACK_INST; 7338 } 7339 else 7340 { 7341 cleanup_ack_type = DspinDhccpParam::TYPE_CLEANUP_ACK_DATA; 7342 } 7343 7333 7344 DspinDhccpParam::dspin_set( 7334 7345 flit, … … 7353 7364 DspinDhccpParam::dspin_set( 7354 7365 flit, 7355 DspinDhccpParam::TYPE_CLEANUP_ACK,7366 cleanup_ack_type, 7356 7367 DspinDhccpParam::FROM_MC_TYPE); 7357 7368 … … 7364 7375 case CC_SEND_XRAM_RSP_INVAL_HEADER: 7365 7376 { 7377 if(not m_xram_rsp_to_cc_send_inst_fifo.rok()) break; 7378 7366 7379 uint8_t multi_inval_type; 7367 7380 if(m_xram_rsp_to_cc_send_inst_fifo.read()) … … 7396 7409 DspinDhccpParam::FROM_MC_TYPE); 7397 7410 7398 p_dspin_out.write = m_xram_rsp_to_cc_send_inst_fifo.rok();7411 p_dspin_out.write = true; 7399 7412 p_dspin_out.data = flit; 7400 7413 … … 7512 7525 case CC_SEND_WRITE_UPDT_HEADER: 7513 7526 { 7527 if(not m_write_to_cc_send_inst_fifo.rok()) break; 7528 7514 7529 uint8_t multi_updt_type; 7515 7530 if(m_write_to_cc_send_inst_fifo.read()) … … 7544 7559 DspinDhccpParam::FROM_MC_TYPE); 7545 7560 7546 p_dspin_out.write = m_write_to_cc_send_inst_fifo.rok();7561 p_dspin_out.write = true; 7547 7562 p_dspin_out.data = flit; 7548 7563 … … 7614 7629 case CC_SEND_CAS_UPDT_HEADER: 7615 7630 { 7631 if (not m_cas_to_cc_send_inst_fifo.rok()) break; 7632 7616 7633 uint8_t multi_updt_type; 7617 7634 if(m_cas_to_cc_send_inst_fifo.read()) … … 7646 7663 DspinDhccpParam::FROM_MC_TYPE); 7647 7664 7648 p_dspin_out.write = m_cas_to_cc_send_inst_fifo.rok();7665 p_dspin_out.write = true; 7649 7666 p_dspin_out.data = flit; 7650 7667
Note: See TracChangeset
for help on using the changeset viewer.