Ignore:
Timestamp:
Sep 10, 2013, 6:16:32 PM (11 years ago)
Author:
bouyer
Message:

We can't read wdata after we sent cmdack, so read and store wdata when
we get the command, and use the this saved value when we need it later.
While there, add a few SOCLIB_MODULE_DEBUG outputs.

File:
1 edited

Legend:

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

    r514 r522  
    117117    sc_signal<bool>                    r_go;               // command from T_FSM to M_FSM
    118118
    119     sc_signal<sc_dt::sc_uint<vci_param::S> >    r_srcid;   // save srcid
    120     sc_signal<sc_dt::sc_uint<vci_param::T> >    r_trdid;   // save trdid
    121     sc_signal<sc_dt::sc_uint<vci_param::P> >    r_pktid;   // save pktid
     119    sc_signal<typename vci_param::srcid_t >     r_srcid;   // save srcid
     120    sc_signal<typename vci_param::trdid_t >     r_trdid;   // save trdid
     121    sc_signal<typename vci_param::pktid_t >     r_pktid;   // save pktid
     122    sc_signal<typename vci_param::data_t >      r_tdata;   // save wdata
    122123
    123124    uint32_t*                          r_local_buffer;     // capacity is one block
Note: See TracChangeset for help on using the changeset viewer.