ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
|
Execution Unit options. More...
Execution Unit options... | |
#define | CFG_EXU_M_EXTENSION 1 |
RISC-V M-Extension. More... | |
#define | CFG_EXU_A_EXTENSION 1 |
RISC-V A-Extension. More... | |
#define | CFG_PRIV_LEVELS 1 |
Privilege Mode options. More... | |
#define | CFG_EXU_PERFCOUNT_ENABLE 1 |
Performance counter enable. More... | |
#define | CFG_EXU_PERFCOUNTER_BITS 40 |
Performance counter register width. More... | |
#define | CFG_EXU_PERFCOUNTERS_LD 3 |
Performance counter number of registers as log2. More... | |
#define | CFG_EXU_PERFCOUNTERS (1 << CFG_EXU_PERFCOUNTERS_LD) |
Performance counter number of registers (derived). More... | |
Execution Unit options.
#define CFG_EXU_A_EXTENSION 1 |
RISC-V A-Extension.
Defines if the RISC-V A-Extension hardw
0 | - extension disabled |
1 | - extension enabled |
#define CFG_EXU_M_EXTENSION 1 |
RISC-V M-Extension.
Defines if the RISC-V M-Extension hardware is enabled/disabled.
0 | - extension disabled |
1 | - extension enabled |
#define CFG_EXU_PERFCOUNT_ENABLE 1 |
Performance counter enable.
Defines if the hardware performance counters are enabled/disabled.
0 | - no performance counters |
1 | - performance counter and 64bit cycle counter is added |
#define CFG_EXU_PERFCOUNTER_BITS 40 |
Performance counter register width.
Defines the number of bits for the hardware performance counters.
#define CFG_EXU_PERFCOUNTERS (1 << CFG_EXU_PERFCOUNTERS_LD) |
Performance counter number of registers (derived).
#define CFG_EXU_PERFCOUNTERS_LD 3 |
Performance counter number of registers as log2.
Defines the log2 of the number of hardware performance counters.
#define CFG_PRIV_LEVELS 1 |
Privilege Mode options.
Defines the RISC-V privilege mode capability of the ParaNut. Do NOT use any other value!
1 | - only M-Mode is available |
2 | - M- and U-Mode are available |
3 | - M-, S- and U-Mode available, enable the Memory Management Unit (MMU) |