Changeset 17 for trunk


Ignore:
Timestamp:
Apr 9, 2010, 1:37:06 PM (15 years ago)
Author:
simerabe
Message:

updating lib components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/half_gateway_initiator_2/caba/source/include/half_gateway_initiator_2.h

    r11 r17  
    3030#include "gate_ports_2.h"
    3131
    32 #define HI_DEBUG
     32//#define HI_DEBUG
    3333//#define HI_DEBUG_FSM
    3434
     
    146146
    147147#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;
     148if( 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;
    151153#endif
    152154//////////// VCI CMD FSM /////////////////////////
     
    401403                        int rsrcid   = (int)  ((p_ring_in.rsp_data >> 12 ) & 0x3FFF);
    402404                        bool islocal = (m_lt[rsrcid] && m_local) || (!m_lt[rsrcid] && !m_local);
    403                         bool reop     = ((p_ring_in.rsp_data >> (ring_rsp_data_size - 1)) & 0x1) == 1;
     405                        bool reop    = ((p_ring_in.rsp_data >> (ring_rsp_data_size - 1)) & 0x1) == 1;
    404406
    405407                        if(p_ring_in.rsp_w && !reop && islocal) {
Note: See TracChangeset for help on using the changeset viewer.