Changeset 310 for branches


Ignore:
Timestamp:
Mar 8, 2013, 3:08:52 PM (12 years ago)
Author:
cfuguet
Message:

Introducing FROM_L1_BC and FROM_MC_BC in dspin param class to
access the Broadcast bit in flit.
Replacing BROADCAST_BC by FROM_MC_BC in memory cache

Location:
branches/v5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/communication/dspin_dhccp_param/caba/source/include/dspin_dhccp_param.h

    r307 r310  
    121121    static const uint8_t  L1_TYPE_WIDTH                = 2;
    122122
    123     static const uint8_t  FROM_L1_TYPE_SHIFT           = 0;
     123    static const uint8_t  FROM_L1_TYPE_SHIFT           = 1;
    124124    static const uint64_t FROM_L1_TYPE_MASK            = ((1ULL<<L1_TYPE_WIDTH)-1);
    125125    static const uint8_t  FROM_L1_EOP_SHIFT            = 32;
    126126    static const uint64_t FROM_L1_EOP_MASK             = 1;
     127    static const uint8_t  FROM_L1_BC_SHIFT             = 0;
     128    static const uint64_t FROM_L1_BC_MASK              = 1;
    127129
    128130    static const uint8_t  CLEANUP_DEST_SHIFT           = 22;
     
    148150    static const uint8_t  FROM_MC_EOP_SHIFT            = 39;
    149151    static const uint64_t FROM_MC_EOP_MASK             = 1;
     152    static const uint8_t  FROM_MC_BC_SHIFT             = 0;
     153    static const uint64_t FROM_MC_BC_MASK              = 1;
    150154
    151155    static const uint8_t  MULTI_INVAL_DEST_SHIFT       = 26;
     
    184188    static const uint8_t  BROADCAST_SRCID_SHIFT        = 5;
    185189    static const uint64_t BROADCAST_SRCID_MASK         = MULTI_INVAL_SRCID_MASK;
    186     static const uint8_t  BROADCAST_BC_SHIFT           = 0;
    187     static const uint64_t BROADCAST_BC_MASK            = 1;
    188190    static const uint8_t  BROADCAST_UPDT_INDEX_SHIFT   = 34;
    189191    static const uint64_t BROADCAST_UPDT_INDEX_MASK    = MULTI_INVAL_UPDT_INDEX_MASK;
     
    220222      FROM_L1_TYPE,
    221223      FROM_L1_EOP,
     224      FROM_L1_BC,
    222225
    223226      CLEANUP_DEST,
     
    232235      FROM_MC_TYPE,
    233236      FROM_MC_EOP,
     237      FROM_MC_BC,
    234238
    235239      MULTI_INVAL_DEST,
     
    252256      BROADCAST_BOX,
    253257      BROADCAST_SRCID,
    254       BROADCAST_BC,
    255258      BROADCAST_UPDT_INDEX,
    256259      BROADCAST_NLINE
     
    288291        GET_FIELD(flit,BROADCAST_BOX);
    289292        GET_FIELD(flit,BROADCAST_SRCID);
    290         GET_FIELD(flit,BROADCAST_BC);
    291293        GET_FIELD(flit,BROADCAST_UPDT_INDEX);
    292294        GET_FIELD(flit,BROADCAST_NLINE);
     
    327329        SET_FIELD(flit,value,BROADCAST_BOX);
    328330        SET_FIELD(flit,value,BROADCAST_SRCID);
    329         SET_FIELD(flit,value,BROADCAST_BC);
    330331        SET_FIELD(flit,value,BROADCAST_UPDT_INDEX);
    331332        SET_FIELD(flit,value,BROADCAST_NLINE);
  • branches/v5/modules/vci_mem_cache_dspin_coherence/caba/source/src/vci_mem_cache.cpp

    r307 r310  
    74087408            flit,
    74097409            1ULL,
    7410             dspin_param::BROADCAST_BC);
     7410            dspin_param::FROM_MC_BC);
    74117411
    74127412        p_dspin_out.write = true;
Note: See TracChangeset for help on using the changeset viewer.