Changeset 11 for trunk/modules


Ignore:
Timestamp:
Apr 6, 2010, 11:38:58 AM (15 years ago)
Author:
simerabe
Message:

adding trace for debugging

Location:
trunk/modules
Files:
2 edited

Legend:

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

    r8 r11  
    3030#include "gate_ports_2.h"
    3131
    32 //#define HI_DEBUG
     32#define HI_DEBUG
    3333//#define HI_DEBUG_FSM
    3434
     
    348348{
    349349        p_gate_initiator.rsp_w    = m_rsp_fifo.rok();
    350         p_gate_initiator.rsp_data = m_rsp_fifo.read();
     350        p_gate_initiator.rsp_data = (sc_uint<ring_rsp_data_size>) m_rsp_fifo.read();
    351351
    352352        p_gate_initiator.cmd_r= m_cmd_fifo.wok();
  • trunk/modules/half_gateway_target_2/caba/source/include/half_gateway_target_2.h

    r8 r11  
    2525 * Copyright: UPMC - LIP6
    2626 */
     27#include <systemc>
    2728#include "vci_initiator.h"
    2829#include "generic_fifo.h"
     
    3132#include "gate_ports_2.h"
    3233
    33 //#define HT_DEBUG
     34#define HT_DEBUG
    3435//#define HT_DEBUG_FSM
    3536
     
    423424{
    424425        p_gate_target.cmd_w    = m_cmd_fifo.rok();
    425         p_gate_target.cmd_data = m_cmd_fifo.read();
     426        p_gate_target.cmd_data = (sc_uint<ring_cmd_data_size>) m_cmd_fifo.read();
    426427
    427428        p_gate_target.rsp_r= m_rsp_fifo.wok();
Note: See TracChangeset for help on using the changeset viewer.