[params] Add SecureIbex option to simple system

Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
Tom Roberts 2020-06-04 15:43:44 +01:00 committed by Tom Roberts
parent 6b9165fa66
commit a9642cfb48
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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 ),