Changeset 1014 for branches


Ignore:
Timestamp:
Sep 14, 2015, 9:42:14 AM (9 years ago)
Author:
cfuguet
Message:

reconf: remove useless register assignments when writing in the
vci_mem_cache scratchpad mode register.

Location:
branches/reconfiguration/modules/vci_mem_cache
Files:
2 edited

Legend:

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

    r1011 r1014  
    15421542                            need_rsp = true;
    15431543                            error    = 0;
    1544                             r_config_scratchpad = wdata > 0 ? true : false;
    1545 
    1546                             // prepare delayed response from CONFIG FSM
    1547                             r_config_srcid = p_vci_tgt.srcid.read();
    1548                             r_config_trdid = p_vci_tgt.trdid.read();
    1549                             r_config_pktid = p_vci_tgt.pktid.read();
     1544                            r_config_scratchpad = (wdata > 0) ? true : false;
    15501545
    15511546#if DEBUG_MEMC_TGT_CMD
  • branches/reconfiguration/modules/vci_mem_cache/include/soclib/mem_cache.h

    r1011 r1014  
    181181    MEMC_RERROR_ADDR_LO = 0,
    182182    MEMC_RERROR_ADDR_HI,
    183     MEMC_RERROR_SRCID, 
     183    MEMC_RERROR_SRCID,
    184184    MEMC_RERROR_IRQ_RESET,
    185185    MEMC_RERROR_IRQ_ENABLE
    186186};
    187187
    188 #define MEMC_REG(func,idx) ((func<<7)|idx) 
     188#define MEMC_REG(func,idx) ((func<<7)|idx)
    189189
    190190#endif /* MEM_CACHE_REGS_H */
Note: See TracChangeset for help on using the changeset viewer.