Skip to content

Commit a784583

Browse files
committed
[dv,fcov] Add additional illegal bins to PMP fcov
1 parent 4fe6d89 commit a784583

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dv/uvm/core_ibex/fcov/core_ibex_pmp_fcov_if.sv

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ interface core_ibex_pmp_fcov_if import ibex_pkg::*; #(
384384
illegal_bins illegal_machine_deny_read =
385385
// Ensuring MML is high and we are in a R allowed configuration in Machine Mode
386386
(binsof(cp_region_priv_bits) intersect {MML_WRM_RU, MML_WRM_WRU, MML_RM_RU, MML_RM,
387-
MML_WRM, MML_XRM, MML_XRM_XU, NONE} &&
387+
MML_WRM, MML_XRM, MML_XRM_XU, NONE,
388+
W, X, XW} &&
388389
binsof(cp_priv_lvl_dside) intersect {PRIV_LVL_M} &&
389390
binsof(cp_req_type_dside) intersect {PMP_ACC_READ} &&
390391
binsof(pmp_dside_req_err) intersect {1});
@@ -428,7 +429,8 @@ interface core_ibex_pmp_fcov_if import ibex_pkg::*; #(
428429
binsof(pmp_dside_req_err) intersect {1});
429430
illegal_bins illegal_machine_deny_write =
430431
// Ensuring MML is high and we are in a W allowed configuration in Machine Mode
431-
(binsof(cp_region_priv_bits) intersect {MML_WRM_WRU, MML_WRM_RU, MML_WRM, NONE} &&
432+
(binsof(cp_region_priv_bits) intersect {MML_WRM_WRU, MML_WRM_RU, MML_WRM, NONE,
433+
R, X, XR, XW} &&
432434
binsof(cp_priv_lvl_dside) intersect {PRIV_LVL_M} &&
433435
binsof(cp_req_type_dside) intersect {PMP_ACC_WRITE} &&
434436
binsof(pmp_dside_req_err) intersect {1});

0 commit comments

Comments
 (0)