Changeset 352 for trunk


Ignore:
Timestamp:
Apr 4, 2013, 3:45:04 PM (12 years ago)
Author:
cfuguet
Message:

Bugfix in vci_cc_vcache_wrapper_v4:
In case of SC or CAS command, the bit cons must be set and the
bit contig must be unset. In this two kind of commands, the
command packet is two flits long and the address must be
constant.

This bugfix has been already commited for tsar version 5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/src/vci_cc_vcache_wrapper_v4.cpp

    r291 r352  
    50535053    // it depends on the CMD FSM state
    50545054
     5055    bool is_sc_or_cas  = (r_vci_cmd_fsm.read() == CMD_DATA_CAS) or
     5056                         (r_vci_cmd_fsm.read() == CMD_DATA_SC );
     5057
    50555058    p_vci_ini_d.pktid  = 0;
    50565059    p_vci_ini_d.srcid  = m_srcid_d;
    5057     p_vci_ini_d.cons   = (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
    5058     p_vci_ini_d.contig = not (r_vci_cmd_fsm.read() == CMD_DATA_CAS);
     5060    p_vci_ini_d.cons   = is_sc_or_cas;
     5061    p_vci_ini_d.contig = not is_sc_or_cas;
    50595062    p_vci_ini_d.wrap   = false;
    50605063    p_vci_ini_d.clen   = 0;
Note: See TracChangeset for help on using the changeset viewer.