Changeset 367 for branches/v5


Ignore:
Timestamp:
Apr 15, 2013, 11:55:27 AM (12 years ago)
Author:
cfuguet
Message:

Modification in v5/vci_mem_cache

Aligning to left the SRCID into the DEST field in case of
coherence command coming from the Memory Cache.

File:
1 edited

Legend:

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

    r362 r367  
    74337433    case CC_SEND_CLEANUP_ACK:
    74347434      {
    7435         uint64_t flit = 0;
    7436  
    74377435        uint8_t cleanup_ack_type;
    74387436        if(r_cleanup_to_cc_send_inst.read())
     
    74447442          cleanup_ack_type = DspinDhccpParam::TYPE_CLEANUP_ACK_DATA;
    74457443        }
     7444
     7445        uint64_t flit = 0;
     7446        uint64_t dest =
     7447          r_cleanup_to_cc_send_srcid.read() <<
     7448          (DspinDhccpParam::SRCID_WIDTH - vci_param::S);
    74467449
    74477450        DspinDhccpParam::dspin_set(
     
    74527455        DspinDhccpParam::dspin_set(
    74537456            flit,
    7454             r_cleanup_to_cc_send_srcid.read(),
     7457            dest,
    74557458            DspinDhccpParam::CLEANUP_ACK_DEST);
    74567459
     
    74917494
    74927495        uint64_t flit = 0;
     7496        uint64_t dest =
     7497          m_xram_rsp_to_cc_send_srcid_fifo.read() <<
     7498          (DspinDhccpParam::SRCID_WIDTH - vci_param::S);
    74937499
    74947500        DspinDhccpParam::dspin_set(
    74957501            flit,
    7496             m_xram_rsp_to_cc_send_srcid_fifo.read(),
     7502            dest,
    74977503            DspinDhccpParam::MULTI_INVAL_DEST);
    74987504
     
    76417647
    76427648        uint64_t flit = 0;
     7649        uint64_t dest =
     7650          m_write_to_cc_send_srcid_fifo.read() <<
     7651          (DspinDhccpParam::SRCID_WIDTH - vci_param::S);
    76437652
    76447653        DspinDhccpParam::dspin_set(
    76457654            flit,
    7646             m_write_to_cc_send_srcid_fifo.read(),
     7655            dest,
    76477656            DspinDhccpParam::MULTI_UPDT_DEST);
    76487657
     
    77457754
    77467755        uint64_t flit = 0;
     7756        uint64_t dest =
     7757          m_cas_to_cc_send_srcid_fifo.read() <<
     7758          (DspinDhccpParam::SRCID_WIDTH - vci_param::S);
    77477759
    77487760        DspinDhccpParam::dspin_set(
    77497761            flit,
    7750             m_cas_to_cc_send_srcid_fifo.read(),
     7762            dest,
    77517763            DspinDhccpParam::MULTI_UPDT_DEST);
    77527764
Note: See TracChangeset for help on using the changeset viewer.