Skip to content
Snippets Groups Projects
Commit e2cc3f09 authored by Alban Gruin's avatar Alban Gruin
Browse files

verifier: remove useless stuff


Signed-off-by: default avatarAlban Gruin <alban.gruin@irit.fr>
parent 109e8d5b
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ module verifier #( ...@@ -43,6 +43,7 @@ module verifier #(
// assign should_lock_icache_o = has_mem_access & icache_miss_i; // assign should_lock_icache_o = has_mem_access & icache_miss_i;
assign should_lock_icache_o = has_mem_access | if_has_cf_i | id_has_cf_i | is_has_cf_i; assign should_lock_icache_o = has_mem_access | if_has_cf_i | id_has_cf_i | is_has_cf_i;
//pragma translate off
// CO // CO
logic [NR_COMMIT_PORTS-1:0][BITS_ENTRIES-1:0] commit_id_n, commit_id_q; logic [NR_COMMIT_PORTS-1:0][BITS_ENTRIES-1:0] commit_id_n, commit_id_q;
logic [NR_COMMIT_PORTS-1:0] commit_correct; logic [NR_COMMIT_PORTS-1:0] commit_correct;
...@@ -74,7 +75,6 @@ module verifier #( ...@@ -74,7 +75,6 @@ module verifier #(
end end
end end
//pragma translate off
`ifndef VERILATOR `ifndef VERILATOR
initial begin initial begin
assert (NR_ENTRIES == 2**BITS_ENTRIES) else $fatal ("NR_ENTRIES is not a power of 2"); assert (NR_ENTRIES == 2**BITS_ENTRIES) else $fatal ("NR_ENTRIES is not a power of 2");
...@@ -85,10 +85,6 @@ module verifier #( ...@@ -85,10 +85,6 @@ module verifier #(
@(posedge clk_i) disable iff (!rst_ni) commit_ack_i[i] |-> commit_correct[i]) @(posedge clk_i) disable iff (!rst_ni) commit_ack_i[i] |-> commit_correct[i])
else $warning (1,"Invalid commit"); else $warning (1,"Invalid commit");
end end
assert property (
@(posedge clk_i) disable iff (!rst_ni) ~should_lock_icache_o)
else $warning (1,"Concurrent access on the bus");
`endif `endif
//pragma translate on //pragma translate on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment