Changeset 318
- Timestamp:
- Mar 13, 2013, 3:12:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/src/vci_cc_vcache_wrapper.cpp
r315 r318 5348 5348 uint64_t receive_data = p_dspin_in.data.read(); 5349 5349 // initialize coherence packet type 5350 uint64_t receive_type = (DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::FROM_MC_TYPE) & 0x7);5351 // initialize data/ins flip_flop 5350 uint64_t receive_type = DspinDhccpParam::dspin_get(receive_data,DspinDhccpParam::FROM_MC_TYPE); 5351 // initialize data/ins flip_flop (0 data / 1 ins) 5352 5352 r_cc_receive_data_ins = (bool)(receive_type & 0x1); 5353 5353 // test for a broadcast … … 5355 5355 r_cc_receive_fsm = CC_RECEIVE_BRDCAST_HEADER; 5356 5356 // test for a CLACK 5357 else if(receive_type & 0x4)5357 else if(receive_type == DspinDhccpParam::TYPE_CLEANUP_ACK) 5358 5358 r_cc_receive_fsm = CC_RECEIVE_CLACK; 5359 5359 // test for a multi updt 5360 else if(receive_type & 0x2)5360 else if(receive_type == DspinDhccpParam::TYPE_MULTI_UPDT) 5361 5361 r_cc_receive_fsm = CC_RECEIVE_UPDT_HEADER; 5362 5362 // test for a multi inval … … 5833 5833 DspinDhccpParam::dspin_set(dspin_send_data,1,DspinDhccpParam::FROM_L1_EOP); 5834 5834 DspinDhccpParam::dspin_set(dspin_send_data,0,DspinDhccpParam::FROM_L1_BC); 5835 DspinDhccpParam::dspin_set(dspin_send_data, 5836 DspinDhccpParam::TYPE_MULTI_ACK, 5837 DspinDhccpParam::FROM_L1_TYPE); 5835 5838 // dcache active request 5836 5839 if(r_cc_send_last_client.read() == 0)
Note: See TracChangeset
for help on using the changeset viewer.