Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | List of all members
Leon3Processor Class Reference

#include <leon3processor.h>

Inheritance diagram for Leon3Processor:
Collaboration diagram for Leon3Processor:

Public Member Functions

 Leon3Processor (sc_core::sc_module_name name="", bool mmu_cache_icen=true, uint32_t mmu_cache_irepl=1, uint32_t mmu_cache_isets=4, uint32_t mmu_cache_ilinesize=8, uint32_t mmu_cache_isetsize=8, uint32_t mmu_cache_isetlock=true, uint32_t mmu_cache_dcen=true, uint32_t mmu_cache_drepl=1, uint32_t mmu_cache_dsets=2, uint32_t mmu_cache_dlinesize=4, uint32_t mmu_cache_dsetsize=8, bool mmu_cache_dsetlock=true, bool mmu_cache_dsnoop=true, bool mmu_cache_ilram=false, uint32_t mmu_cache_ilramsize=0x000, uint32_t mmu_cache_ilramstart=0x000, uint32_t mmu_cache_dlram=false, uint32_t mmu_cache_dlramsize=0x000, uint32_t mmu_cache_dlramstart=0x000, uint32_t mmu_cache_cached=0, bool mmu_cache_mmu_en=true, uint32_t mmu_cache_itlb_num=8, uint32_t mmu_cache_dtlb_num=8, uint32_t mmu_cache_tlb_type=0, uint32_t mmu_cache_tlb_rep=1, uint32_t mmu_cache_mmupgsz=0, uint32_t mmu_cache_hindex=0, bool pow_mon=false, amba::amba_layer_ids ambaLayer=amba::amba_LT)
 
 ~Leon3mpPlatform ()
 
void clkcng ()
 
void dorst ()
 
- Public Member Functions inherited from CLKDevice
 SR_HAS_SIGNALS (CLKDevice)
 
 CLKDevice ()
 
virtual ~CLKDevice ()
 
virtual void onrst (const bool &value, const sc_core::sc_time &time)
 
virtual void onclk (const sc_core::sc_time &value, const sc_core::sc_time &time)
 
void set_clk (sc_core::sc_clock &clk)
 
void set_clk (sc_core::sc_time period)
 
void set_clk (double period, sc_core::sc_time_unit base)
 

Public Attributes

mmu_cache mmu_cache
 
leon3_funclt_trap::Processor_leon3_funcltleon3lt
 
leon3_funcat_trap::Processor_leon3_funcat * leon3at
 
- Public Attributes inherited from CLKDevice
signal< bool >::in rst
 Reset input signal. More...
 
signal< sc_core::sc_time >::in clk
 Clock input signal. More...
 

Additional Inherited Members

- Protected Attributes inherited from CLKDevice
sc_core::sc_time clock_cycle
 

Constructor & Destructor Documentation

Leon3Processor::Leon3Processor ( sc_core::sc_module_name  name = "",
bool  mmu_cache_icen = true,
uint32_t  mmu_cache_irepl = 1,
uint32_t  mmu_cache_isets = 4,
uint32_t  mmu_cache_ilinesize = 8,
uint32_t  mmu_cache_isetsize = 8,
uint32_t  mmu_cache_isetlock = true,
uint32_t  mmu_cache_dcen = true,
uint32_t  mmu_cache_drepl = 1,
uint32_t  mmu_cache_dsets = 2,
uint32_t  mmu_cache_dlinesize = 4,
uint32_t  mmu_cache_dsetsize = 8,
bool  mmu_cache_dsetlock = true,
bool  mmu_cache_dsnoop = true,
bool  mmu_cache_ilram = false,
uint32_t  mmu_cache_ilramsize = 0x000,
uint32_t  mmu_cache_ilramstart = 0x000,
uint32_t  mmu_cache_dlram = false,
uint32_t  mmu_cache_dlramsize = 0x000,
uint32_t  mmu_cache_dlramstart = 0x000,
uint32_t  mmu_cache_cached = 0,
bool  mmu_cache_mmu_en = true,
uint32_t  mmu_cache_itlb_num = 8,
uint32_t  mmu_cache_dtlb_num = 8,
uint32_t  mmu_cache_tlb_type = 0,
uint32_t  mmu_cache_tlb_rep = 1,
uint32_t  mmu_cache_mmupgsz = 0,
uint32_t  mmu_cache_hindex = 0,
bool  pow_mon = false,
amba::amba_layer_ids  ambaLayer = amba::amba_LT 
)
inline
Parameters
nameSystemC module name
mmu_cache_iceninstruction cache enable
mmu_cache_ireplinstruction cache replacement strategy
mmu_cache_isetsnumber of instruction cache sets
mmu_cache_ilinesizeinstruction cache line size (in bytes)
mmu_cache_isetsizesize of an instruction cache set (in kbytes)
mmu_cache_isetlockenable instruction cache locking
mmu_cache_dcendata cache enable
mmu_cache_drepldata cache replacement strategy
mmu_cache_dsetsnumber of data cache sets
mmu_cache_dlinesizedata cache line size (in bytes)
mmu_cache_dsetsizesize of a data cache set (in kbytes)
mmu_cache_dsetlockenable data cache locking
mmu_cache_dsnoopenable data cache snooping
mmu_cache_ilramenable instruction scratch pad
mmu_cache_ilramsizesize of the instruction scratch pad (in kbytes)
mmu_cache_ilramstartstart address of the instruction scratch pad
mmu_cache_dlramenable data scratch pad
mmu_cache_dlramsizesize of the data scratch pad (in kbytes)
mmu_cache_dlramstartstart address of the data scratch pad
mmu_cache_cachedfixed cacheability mask
mmu_cache_mmu_enmmu enable
mmu_cache_itlb_numnumber of instruction TLBs
mmu_cache_dtlb_numnumber of data TLBs
mmu_cache_tlb_typesplit or shared instruction and data TLBs
mmu_cache_tlb_repTLB replacement strategy
mmu_cache_mmupgszMMU page size
mmu_cache_hindexID of the bus master
pow_monEnable power monitoring in AHBCtrl and APBCtrl
Leon3Processor::~Leon3mpPlatform ( )
inline

Member Function Documentation

void Leon3Processor::clkcng ( )
inlinevirtual

Reimplemented from CLKDevice.

void Leon3Processor::dorst ( )
inlinevirtual

Reimplemented from CLKDevice.

Member Data Documentation

leon3_funcat_trap::Processor_leon3_funcat* Leon3Processor::leon3at
mmu_cache Leon3Processor::mmu_cache

The documentation for this class was generated from the following file: