pmp coverage

This commit is contained in:
Divya2030 2024-05-02 11:53:04 -07:00
parent 48ad4d6001
commit ee566aa856

View File

@ -168,7 +168,6 @@ module testbench;
"arch64zknd": if (P.ZKND_SUPPORTED) tests = arch64zknd; "arch64zknd": if (P.ZKND_SUPPORTED) tests = arch64zknd;
"arch64zkne": if (P.ZKNE_SUPPORTED) tests = arch64zkne; "arch64zkne": if (P.ZKNE_SUPPORTED) tests = arch64zkne;
"arch64zknh": if (P.ZKNH_SUPPORTED) tests = arch64zknh; "arch64zknh": if (P.ZKNH_SUPPORTED) tests = arch64zknh;
"wallycov64i": tests = wallycov64i;
endcase endcase
end else begin // RV32 end else begin // RV32
case (TEST) case (TEST)
@ -883,6 +882,9 @@ end
else $display("%s succeeded. Brilliant!!!", TestName); else $display("%s succeeded. Brilliant!!!", TestName);
endtask endtask
`ifdef PMP_COVERAGE
test_pmp_coverage #(P) pmp_inst(clk);
`endif
/* verilator lint_on WIDTHTRUNC */ /* verilator lint_on WIDTHTRUNC */
/* verilator lint_on WIDTHEXPAND */ /* verilator lint_on WIDTHEXPAND */