ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Simulation

SystemC Simulation options. More...

Collaboration diagram for Simulation:

SystemC Simulation options...

#define CFG_NUT_SIM_CLK_SPEED   25000000
 Simulation clock speed in Hz. More...
 
#define CFG_NUT_MTIMER_TIMEBASE_US   1000
 mtimer timebase. More...
 
#define CFG_NUT_MTIMER_ADDR   0x80000000
 mtimer base address. More...
 
#define CFG_NUT_RESET_ADDR   0x10000000
 Simulation memory address. More...
 
#define CFG_NUT_SIM_MAX_PERIPHERY   5
 Simulation maximum peripherals number. More...
 

Detailed Description

SystemC Simulation options.

Macro Definition Documentation

◆ CFG_NUT_MTIMER_ADDR

#define CFG_NUT_MTIMER_ADDR   0x80000000

mtimer base address.

Defines the address at which the mtimer will be added to the system interconnect

◆ CFG_NUT_MTIMER_TIMEBASE_US

#define CFG_NUT_MTIMER_TIMEBASE_US   1000

mtimer timebase.

Defines the mtime timer timebase in us

◆ CFG_NUT_RESET_ADDR

#define CFG_NUT_RESET_ADDR   0x10000000

Simulation memory address.

Defines the start address (reset address) of the ParaNut during simulation and the address at which the main memory will be added to the system interconnect (MParaNutSystem::MParaNutSystem()). Also used to determine the cacheable memory addresses.

◆ CFG_NUT_SIM_CLK_SPEED

#define CFG_NUT_SIM_CLK_SPEED   25000000

Simulation clock speed in Hz.

Defines the simulation clock speed in Hz. The configured value can be read from the pnclockinfo CSR.

◆ CFG_NUT_SIM_MAX_PERIPHERY

#define CFG_NUT_SIM_MAX_PERIPHERY   5

Simulation maximum peripherals number.

Defines the maximum number of peripherals that can be connected to the systems Wishbone interconnect (MInterconnect).