3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-09 04:31:25 +00:00

Add a equiv test too

This commit is contained in:
Eddie Hung 2019-11-19 17:05:14 -08:00
parent 90c5ca330c
commit 1cc106452f
2 changed files with 23 additions and 0 deletions

View file

@ -9,3 +9,10 @@ wire w;
unknown u(~i, w);
unknown2 u2(w, o);
endmodule
module abc9_test031(input clk, d, r, output reg q);
initial q = 1'b0;
always @(negedge clk or negedge r)
if (r) q <= 1'b0;
else q <= d;
endmodule