Fixed hierarchical path to EcallFaultM in testbench

This commit is contained in:
David Harris 2023-12-13 16:37:54 -08:00
parent ff26baf7e8
commit 68d96a929c

View File

@ -271,7 +271,7 @@ module testbench;
////////////////////////////////////////////////////////////////////////////////
if(TestBenchReset) test = 1;
if (TEST == "coremark")
if (dut.core.EcallFaultM) begin
if (dut.core.priv.priv.EcallFaultM) begin
$display("Benchmark: coremark is done.");
$stop;
end