assert fix

This commit is contained in:
Eric Matthews 2019-09-03 17:25:44 -07:00
parent a773873f01
commit 38472acec5

View file

@ -84,4 +84,8 @@ module id_tracking
////////////////////////////////////////////////////
//Assertions
always_ff @ (posedge clk) begin
assert (!(~id_available & issued)) else $error("Issued without valid ID!");
assert (!(empty & (retired & ~issued))) else $error("Retired without any instruction inflight!");
end
endmodule