Ignore:
Timestamp:
Jun 12, 2015, 3:22:12 PM (9 years ago)
Author:
cfuguet
Message:

reconf: introduce a mechanism in the reconf:vci_xicu component to
simulate stuck-at-0 faults on mailboxes.

File:
1 edited

Legend:

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

    r990 r999  
    7272        case XICU_WTI_REG:
    7373        CHECK_BOUNDS(wti);
     74        if (idx == m_faulty_wti_reg) {
     75            data &= m_faulty_wti_msk;
     76        }
     77        r_wti_pending |= 1<<idx;
    7478        r_wti_reg[idx] = data;
    75         r_wti_pending |= 1<<idx;
    7679
    7780#if SOCLIB_MODULE_DEBUG
     
    510513           r_pti_val(new uint32_t[pti_count]),
    511514           r_wti_reg(new uint32_t[wti_count]),
     515           m_faulty_wti_reg(0xFFFFFFFF),
     516           m_faulty_wti_msk(0x00000000),
    512517           m_clock_cycles(0),
    513518           p_clk("clk"),
Note: See TracChangeset for help on using the changeset viewer.