Changeset 17 for trunk/modules/half_gateway_initiator_2/caba/source
- Timestamp:
- Apr 9, 2010, 1:37:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/half_gateway_initiator_2/caba/source/include/half_gateway_initiator_2.h
r11 r17 30 30 #include "gate_ports_2.h" 31 31 32 #define HI_DEBUG32 //#define HI_DEBUG 33 33 //#define HI_DEBUG_FSM 34 34 … … 146 146 147 147 #ifdef HI_DEBUG_FSM 148 std::cout << "--------------------------------------------" << std::endl; 149 std::cout << " ring cmd fsm = " << ring_cmd_fsm_state_str_hi[r_ring_cmd_fsm] << std::endl; 150 std::cout << " ring rsp fsm = " << ring_rsp_fsm_state_str_hi[r_ring_rsp_fsm] << std::endl; 148 if( trace(sc_time_stamp())) 149 std::cout << sc_time_stamp() << " - " << m_name 150 << " - ring cmd = " << ring_cmd_fsm_state_str_hi[r_ring_cmd_fsm] 151 << " - ring rsp = " << ring_rsp_fsm_state_str_hi[r_ring_rsp_fsm] 152 << std::endl; 151 153 #endif 152 154 //////////// VCI CMD FSM ///////////////////////// … … 401 403 int rsrcid = (int) ((p_ring_in.rsp_data >> 12 ) & 0x3FFF); 402 404 bool islocal = (m_lt[rsrcid] && m_local) || (!m_lt[rsrcid] && !m_local); 403 bool reop 405 bool reop = ((p_ring_in.rsp_data >> (ring_rsp_data_size - 1)) & 0x1) == 1; 404 406 405 407 if(p_ring_in.rsp_w && !reop && islocal) {
Note: See TracChangeset
for help on using the changeset viewer.