Fixed hierarchical path to EcallFaultM in testbench

This commit is contained in:
David Harris 2023-12-12 10:23:00 -08:00
parent 5473aad5f4
commit 2e45384905

View File

@ -276,7 +276,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