From 34880771afdb0b39754bfa377e5eb69bf99847cd Mon Sep 17 00:00:00 2001 From: David Harris Date: Mon, 1 May 2023 08:32:52 -0700 Subject: [PATCH] Fixed IROM coverage issues in IFU --- sim/coverage-exclusions-rv64gc.do | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sim/coverage-exclusions-rv64gc.do b/sim/coverage-exclusions-rv64gc.do index ff9faeb5..a5244a8e 100644 --- a/sim/coverage-exclusions-rv64gc.do +++ b/sim/coverage-exclusions-rv64gc.do @@ -208,6 +208,12 @@ coverage exclude -scope /dut/core/ifu/immu/immu -linerange $line-$line2 -item e coverage exclude -scope /dut/core/ifu/immu/immu -linerange $line-$line2 -item b 1 coverage exclude -scope /dut/core/ifu/immu/immu -linerange $line-$line2 -item s 1 +# No irom +set line [GetLineNum ../src/ifu/ifu.sv "~ITLBMissF & ~CacheableF & ~SelIROM"] +coverage exclude -scope /dut/core/ifu -linerange $line-$line -item c 1 -feccondrow 6 +set line [GetLineNum ../src/ifu/ifu.sv "~ITLBMissF & CacheableF & ~SelIROM"] +coverage exclude -scope /dut/core/ifu -linerange $line-$line -item c 1 -feccondrow 4 + # Excluding reset and clear for impossible case in the wficountreg in privdec set line [GetLineNum ../src/generic/flop/floprc.sv "reset \\| clear"] coverage exclude -scope /dut/core/priv/priv/pmd/wfi/wficountreg -linerange $line-$line -item c 1 -feccondrow 2