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

verifier: add assert to check for concurrent bus accesses


Signed-off-by: default avatarAlban Gruin <alban.gruin@irit.fr>
parent 992f1e29
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,10 @@ module verifier #( ...@@ -78,6 +78,10 @@ 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