Changeset 64 for trunk/modules/half_gateway_target_2/caba/source/include
- Timestamp:
- Jul 21, 2010, 6:01:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/half_gateway_target_2/caba/source/include/half_gateway_target_2.h
r35 r64 91 91 92 92 // internal registers 93 sc_ signal<int> r_ring_cmd_fsm; // ring command packet FSM94 sc_ signal<int> r_ring_rsp_fsm; // ring response packet FSM93 sc_core::sc_signal<int> r_ring_cmd_fsm; // ring command packet FSM 94 sc_core::sc_signal<int> r_ring_rsp_fsm; // ring response packet FSM 95 95 96 96 … … 161 161 162 162 #ifdef HT_DEBUG_FSM 163 if( trace(sc_ time_stamp()))164 std::cout << sc_ time_stamp() << " - " << m_name163 if( trace(sc_core::sc_time_stamp())) 164 std::cout << sc_core::sc_time_stamp() << " - " << m_name 165 165 << " - ring cmd = " << ring_cmd_fsm_state_str_ht[r_ring_cmd_fsm] 166 166 << " - ring rsp = " << ring_rsp_fsm_state_str_ht[r_ring_rsp_fsm] … … 183 183 case RSP_IDLE: 184 184 #ifdef HT_DEBUG 185 if( trace(sc_ time_stamp()))186 std::cout << sc_ time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : RSP_IDLE"185 if( trace(sc_core::sc_time_stamp())) 186 std::cout << sc_core::sc_time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : RSP_IDLE" 187 187 << " -- fifo rok : " << m_rsp_fifo.rok() 188 188 << " -- ring rok : " << p_ring_in.rsp_w … … 199 199 case DEFAULT: 200 200 #ifdef HT_DEBUG 201 if( trace(sc_ time_stamp()))202 std::cout << sc_ time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : DEFAULT "201 if( trace(sc_core::sc_time_stamp())) 202 std::cout << sc_core::sc_time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : DEFAULT " 203 203 << " -- fifo_rsp_rok : " << m_rsp_fifo.rok() 204 204 << " -- fifo_rsp_data : " << std::hex << m_rsp_fifo.read() … … 220 220 { 221 221 #ifdef HT_DEBUG 222 if( trace(sc_ time_stamp()))223 std::cout << sc_ time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : KEEP "222 if( trace(sc_core::sc_time_stamp())) 223 std::cout << sc_core::sc_time_stamp() << " -- " << m_name << " -- ring_rsp_fsm : KEEP " 224 224 << " -- fifo_rok : " << m_rsp_fifo.rok() 225 225 << " -- ring_in_wok : " << p_ring_in.rsp_r … … 253 253 254 254 #ifdef HT_DEBUG 255 if( trace(sc_ time_stamp())) {256 std::cout << sc_ time_stamp() << " -- " << m_name255 if( trace(sc_core::sc_time_stamp())) { 256 std::cout << sc_core::sc_time_stamp() << " -- " << m_name 257 257 << " -- ring_cmd_fsm -- CMD_IDLE " 258 258 << " - in rok : " << p_ring_in.cmd_w … … 302 302 303 303 #ifdef HT_DEBUG 304 if( trace(sc_ time_stamp()))305 std::cout << sc_ time_stamp() << " -- " << m_name304 if( trace(sc_core::sc_time_stamp())) 305 std::cout << sc_core::sc_time_stamp() << " -- " << m_name 306 306 << " -- ring_cmd_fsm -- BROADCAST_0 " 307 307 << " -- ringin cmd rok : " << p_ring_in.cmd_w … … 325 325 { 326 326 #ifdef HT_DEBUG 327 if( trace(sc_ time_stamp()))328 std::cout << sc_ time_stamp() << " -- " << m_name327 if( trace(sc_core::sc_time_stamp())) 328 std::cout << sc_core::sc_time_stamp() << " -- " << m_name 329 329 << " -- ring_cmd_fsm -- BROADCAST_1 " 330 330 << " -- ringin cmd rok : " << p_ring_in.cmd_w … … 355 355 bool eop = ( (int) ((p_ring_in.cmd_data >> (ring_cmd_data_size - 1) ) & 0x1) == 1); 356 356 #ifdef HT_DEBUG 357 if( trace(sc_ time_stamp()))358 std::cout << sc_ time_stamp() << " -- " << m_name357 if( trace(sc_core::sc_time_stamp())) 358 std::cout << sc_core::sc_time_stamp() << " -- " << m_name 359 359 << " -- ring_cmd_fsm -- LOCAL " 360 360 << " -- in cmd rok : " << p_ring_in.cmd_w … … 391 391 bool eop = ( (int) ((p_ring_in.cmd_data >> (ring_cmd_data_size - 1) ) & 0x1) == 1); 392 392 #ifdef HT_DEBUG 393 if( trace(sc_ time_stamp()))394 std::cout << sc_ time_stamp() << " -- " << m_name393 if( trace(sc_core::sc_time_stamp())) 394 std::cout << sc_core::sc_time_stamp() << " -- " << m_name 395 395 << " -- ring_cmd_fsm -- RING " 396 396 << " -- in cmd rok : " << p_ring_in.cmd_w … … 432 432 { 433 433 p_gate_target.cmd_w = m_cmd_fifo.rok(); 434 p_gate_target.cmd_data = (sc_ uint<ring_cmd_data_size>) m_cmd_fifo.read();434 p_gate_target.cmd_data = (sc_dt::sc_uint<ring_cmd_data_size>) m_cmd_fifo.read(); 435 435 436 436 p_gate_target.rsp_r= m_rsp_fifo.wok();
Note: See TracChangeset
for help on using the changeset viewer.