mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[params] Add SecureIbex option to simple system
Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
parent
6b9165fa66
commit
a9642cfb48
2 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,12 @@ parameters:
|
|||
default: 0
|
||||
description: "Enables third pipeline stage (EXPERIMENTAL)"
|
||||
|
||||
SecureIbex:
|
||||
datatype: int
|
||||
default: 0
|
||||
paramtype: vlogparam
|
||||
description: "Enables security hardening features (EXPERIMENTAL) [0/1]"
|
||||
|
||||
PMPEnable:
|
||||
datatype: int
|
||||
default: 0
|
||||
|
@ -95,6 +101,7 @@ targets:
|
|||
- MultiplierImplementation
|
||||
- BranchTargetALU
|
||||
- WritebackStage
|
||||
- SecureIbex
|
||||
- PMPEnable
|
||||
- PMPGranularity
|
||||
- PMPNumRegions
|
||||
|
|
|
@ -23,6 +23,7 @@ module ibex_simple_system (
|
|||
input IO_RST_N
|
||||
);
|
||||
|
||||
parameter bit SecureIbex = 1'b0;
|
||||
parameter bit PMPEnable = 1'b0;
|
||||
parameter int unsigned PMPGranularity = 0;
|
||||
parameter int unsigned PMPNumRegions = 4;
|
||||
|
@ -146,6 +147,7 @@ module ibex_simple_system (
|
|||
);
|
||||
|
||||
ibex_core_tracing #(
|
||||
.SecureIbex ( SecureIbex ),
|
||||
.PMPEnable ( PMPEnable ),
|
||||
.PMPGranularity ( PMPGranularity ),
|
||||
.PMPNumRegions ( PMPNumRegions ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue