Changeset 496 for trunk


Ignore:
Timestamp:
Aug 26, 2013, 4:58:22 PM (11 years ago)
Author:
cfuguet
Message:

Modification in vci_mem_cache:

  • Adding cast to addr_t (physical address type) in the XRAM_RSP_TRT_COPY state to the victim TAG value. Some gcc versions can trunc the value after the shift operation performed in this assignment.
  • The MULTI_ACK FSM does not request the LOCK over the UPT in the MULTI_ACK_UPT_CLEAR state. This is not necessary because it has requested the LOCK in the previous state.
  • Erasing useless mask in the CLACK DSPIN flit creation. This mask operation is performed by the DHCCP_DSPIN_PARAM class
File:
1 edited

Legend:

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

    r491 r496  
    39183918        r_xram_rsp_victim_way       = way;
    39193919        r_xram_rsp_victim_set       = set;
    3920         r_xram_rsp_victim_nline     = victim.tag*m_sets + set;
     3920        r_xram_rsp_victim_nline     = (addr_t)victim.tag*m_sets + set;
    39213921        r_xram_rsp_victim_is_cnt    = victim.is_cnt;
    39223922        r_xram_rsp_victim_inval     = inval ;
     
    67406740      /////////////////////////
    67416741      case ALLOC_UPT_MULTI_ACK:     // allocated to MULTI_ACK FSM
    6742           if ((r_multi_ack_fsm.read() != MULTI_ACK_UPT_LOCK ) and
    6743               (r_multi_ack_fsm.read() != MULTI_ACK_UPT_CLEAR))
     6742          if (r_multi_ack_fsm.read() != MULTI_ACK_UPT_LOCK)
    67446743          {
    67456744              if (r_write_fsm.read() == WRITE_UPT_LOCK)
     
    82578256      DspinDhccpParam::dspin_set(
    82588257            flit,
    8259             r_cleanup_nline.read() & 0xFFFF,
     8258            r_cleanup_nline.read(),
    82608259            DspinDhccpParam::CLACK_SET);
    82618260
Note: See TracChangeset for help on using the changeset viewer.