Ignore:
Timestamp:
Jun 25, 2014, 10:49:08 PM (10 years ago)
Author:
cfuguet
Message:

vci_cc_vcache_wrapper:

  • Adding icache physical address extension register.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h

    r668 r721  
    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
     
    401405    sc_signal<size_t>       r_icache_cc_send_way;           // ICACHE cc_send way
    402406    sc_signal<size_t>       r_icache_cc_send_updt_tab_idx;  // ICACHE cc_send update table index
     407
     408    // Physical address extension for data access
     409    sc_signal<uint32_t>     r_icache_paddr_ext;             // CP2 register (if vci_address > 32)
    403410
    404411    ///////////////////////////////
     
    749756    }
    750757
     758    /////////////////////////////////////////////////////////////
     759    // Set the m_dcache_paddr_ext_reset attribute
     760    //
     761    // The r_dcache_paddr_ext register will be initialized after
     762    // reset with the m_dcache_paddr_ext_reset value
     763    /////////////////////////////////////////////////////////////
     764    inline void set_dcache_paddr_ext_reset(uint32_t v)
     765    {
     766        m_dcache_paddr_ext_reset = v;
     767    }
     768
     769    /////////////////////////////////////////////////////////////
     770    // Set the m_icache_paddr_ext_reset attribute
     771    //
     772    // The r_icache_paddr_ext register will be initialized after
     773    // reset with the m_icache_paddr_ext_reset value
     774    /////////////////////////////////////////////////////////////
     775    inline void set_icache_paddr_ext_reset(uint32_t v)
     776    {
     777        m_icache_paddr_ext_reset = v;
     778    }
     779
    751780private:
    752781    void transition();
Note: See TracChangeset for help on using the changeset viewer.