Ignore:
Timestamp:
Mar 7, 2014, 10:24:17 AM (10 years ago)
Author:
cfuguet
Message:

TSAR FAULT TOLERANCE BRANCH

vci_simple_rom:

  • Introducing ROM component which can discard most significant bits when calling the load function of the loader. This allows us to replicate some code in several cluster as we can mask the cluster ID bits of the address.

vci_cc_vcache_wrapper:

  • Introducing a INST_PADDR_EXT register. This register allows to access addresses further than 4Gbytes when MMU is de-activated.
  • Introducing a way to initialize the INST_PADDR_EXT and DATA_ PADDR_EXT registers during reset.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fault_tolerance/module/internal_component/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h

    r616 r656  
    113113        DCACHE_XTN_IC_FLUSH,
    114114        DCACHE_XTN_IC_INVAL_PA,
     115        DCACHE_XTN_IC_PADDR_EXT,
    115116        DCACHE_XTN_IT_INVAL,
    116117        DCACHE_XTN_DC_FLUSH,
     
    322323    bool                                m_debug_ok;
    323324
     325    uint32_t                            m_dcache_paddr_ext_reset;
     326    uint32_t                            m_icache_paddr_ext_reset;
     327
    324328    ////////////////////////////////////////
    325329    // Communication with processor ISS
     
    399403    sc_signal<size_t>       r_icache_cc_send_way;           // ICACHE cc_send way
    400404    sc_signal<size_t>       r_icache_cc_send_updt_tab_idx;  // ICACHE cc_send update table index
     405
     406    // Physical address extension for data access
     407    sc_signal<uint32_t>     r_icache_paddr_ext;             // CP2 register (if vci_address > 32)
    401408
    402409    ///////////////////////////////
     
    747754    }
    748755
     756    /////////////////////////////////////////////////////////////
     757    // Set the m_dcache_paddr_ext_reset attribute
     758    //
     759    // The r_dcache_paddr_ext register will be initialized after
     760    // reset with the m_dcache_paddr_ext_reset value
     761    /////////////////////////////////////////////////////////////
     762    inline void set_dcache_paddr_ext_reset(uint32_t v)
     763    {
     764        m_dcache_paddr_ext_reset = v;
     765    }
     766
     767    /////////////////////////////////////////////////////////////
     768    // Set the m_icache_paddr_ext_reset attribute
     769    //
     770    // The r_icache_paddr_ext register will be initialized after
     771    // reset with the m_icache_paddr_ext_reset value
     772    /////////////////////////////////////////////////////////////
     773    inline void set_icache_paddr_ext_reset(uint32_t v)
     774    {
     775        m_icache_paddr_ext_reset = v;
     776    }
     777
    749778private:
    750779    void transition();
Note: See TracChangeset for help on using the changeset viewer.