Ignore:
Timestamp:
Sep 2, 2010, 2:27:44 PM (14 years ago)
Author:
guthmull
Message:

Fix the masking of RERROR field

File:
1 edited

Legend:

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

    r82 r83  
    37003700        p_vci_tgt.rtrdid   = r_write_to_tgt_rsp_trdid.read();
    37013701        p_vci_tgt.rpktid   = r_write_to_tgt_rsp_pktid.read();
    3702         p_vci_tgt.rerror   = 0x2 & ( (1 << (vci_param::E + 1)) - 1); // Write OK
     3702        p_vci_tgt.rerror   = 0x2 & ( (1 << vci_param::E) - 1); // Write OK
    37033703        p_vci_tgt.reop     = true;
    37043704        break;
     
    38963896          p_vci_tgt_cleanup.rpktid = r_cleanup_pktid.read();
    38973897          p_vci_tgt_cleanup.rtrdid = r_cleanup_trdid.read();
    3898           p_vci_tgt_cleanup.rerror = 0x2 & ( (1 << (vci_param::E + 1)) - 1);
     3898          p_vci_tgt_cleanup.rerror = 0x2 & ( (1 << vci_param::E) - 1);
    38993899          p_vci_tgt_cleanup.reop   = 1;
    39003900          break;
Note: See TracChangeset for help on using the changeset viewer.