Skip to content

Commit

Permalink
Remove implication operator to avoid xsim compatibility limitation. #57
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Sep 8, 2023
1 parent 49db496 commit ad7b09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/peakrdl_regblock/module_tmpl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ module {{ds.module_name}} (
end else begin
if(external_req & ~external_wr_ack & ~external_rd_ack) external_pending <= '1;
else if(external_wr_ack | external_rd_ack) external_pending <= '0;
assert(external_wr_ack -> (external_pending | external_req))
assert(!external_wr_ack || (external_pending | external_req))
else $error("An external wr_ack strobe was asserted when no external request was active");
assert(external_rd_ack -> (external_pending | external_req))
assert(!external_rd_ack || (external_pending | external_req))
else $error("An external rd_ack strobe was asserted when no external request was active");
end
end
Expand Down

0 comments on commit ad7b09a

Please sign in to comment.