Ignore:
Timestamp:
Mar 27, 2013, 2:25:37 PM (11 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/caba/source/src/vci_cc_vcache_wrapper.cpp

    r304 r336  
    56525652    // it depends on the CMD FSM state
    56535653
     5654    bool is_sc_or_cas  = (r_vci_cmd_fsm.read() == CMD_DATA_CAS) or
     5655                         (r_vci_cmd_fsm.read() == CMD_DATA_SC );
     5656
    56545657    p_vci_ini_d.pktid  = 0;
    56555658    p_vci_ini_d.srcid  = m_srcid_d;
    5656     p_vci_ini_d.cons   = (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
    5657     p_vci_ini_d.contig = not (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
     5659    p_vci_ini_d.cons   = is_sc_or_cas;
     5660    p_vci_ini_d.contig = not is_sc_or_cas;
    56585661    p_vci_ini_d.wrap   = false;
    56595662    p_vci_ini_d.clen   = 0;
Note: See TracChangeset for help on using the changeset viewer.