Ignore:
Timestamp:
Mar 27, 2013, 2:25:37 PM (12 years ago)
Author:
cfuguet
Message:

Bug fix in the vci_cc_vcache_wrapper and vci_mem_cache components
(and the corresponding dspin coherence versions)

vci_cc_vcache_wrapper:

In the VCI_CMD FSM of the cc_vcache, for the SC command as for the
CAS command, we must set the CONS bit in the VCI packet. In the
same manner we must unset the CONTIG bit in the VCI packet for these
two commands.
These two kind of commands have two flits with the same VCI address.

vci_mem_cache

In the state WRITE_DIR_REQ, we don't have to rewrite the registers
address or word index because they will be assigned with the correct
values in the WRITE_IDLE or WRITE_RSP states.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/src/vci_cc_vcache_wrapper_dspin_coherence.cpp

    r333 r336  
    56765676    // it depends on the CMD FSM state
    56775677
     5678    bool is_sc_or_cas  = (r_vci_cmd_fsm.read() == CMD_DATA_CAS) or
     5679                         (r_vci_cmd_fsm.read() == CMD_DATA_SC );
     5680
    56785681    p_vci_ini_d.pktid  = 0;
    56795682    p_vci_ini_d.srcid  = m_srcid_d;
    5680     p_vci_ini_d.cons   = (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
    5681     p_vci_ini_d.contig = not (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
     5683    p_vci_ini_d.cons   = is_sc_or_cas;
     5684    p_vci_ini_d.contig = not is_sc_or_cas;
    56825685    p_vci_ini_d.wrap   = false;
    56835686    p_vci_ini_d.clen   = 0;
Note: See TracChangeset for help on using the changeset viewer.