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/include/vci_xicu.h

    r881 r999  
    6262    uint32_t                                        *r_cfg_reg;
    6363
     64    size_t                                          m_faulty_wti_reg;
     65    int                                             m_faulty_wti_msk;
    6466    uint32_t                                        m_clock_cycles;
    6567
     
    101103             size_t cfg_count = 0 );
    102104
     105    inline void set_faulty_wti(const int index, const int mask)
     106    {
     107        m_faulty_wti_reg = index;
     108        m_faulty_wti_msk = mask;
     109    }
     110
    103111    soclib_static_assert(vci_param::B == 4);
    104112};
Note: See TracChangeset for help on using the changeset viewer.