Skip to content

Commit

Permalink
[aes/rtl] Assert Known for outputs
Browse files Browse the repository at this point in the history
This commit adds an assertion to check that outputs always have a known
value after reset.

This is related to #405.
  • Loading branch information
vogelpi committed Oct 25, 2019
1 parent 3e22024 commit fde954f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/ip/aes/rtl/aes.sv
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ module aes #(
.hw2reg
);

// All outputs should have a known value after reset
`ASSERT_KNOWN(TlODValidKnown, tl_o.d_valid, clk_i, !rst_ni)
`ASSERT_KNOWN(TlOAReadyKnown, tl_o.a_ready, clk_i, !rst_ni)

endmodule

0 comments on commit fde954f

Please sign in to comment.