mirror of https://github.com/YosysHQ/yosys.git
Add testcase
This commit is contained in:
parent
e112d2fbf5
commit
a9674bd2ec
|
@ -0,0 +1,10 @@
|
||||||
|
module dff_test(n1, n1_inv, clk);
|
||||||
|
input clk;
|
||||||
|
(* init = 32'd0 *)
|
||||||
|
output n1;
|
||||||
|
reg n1 = 32'd0;
|
||||||
|
output n1_inv;
|
||||||
|
always @(posedge clk)
|
||||||
|
n1 <= n1_inv;
|
||||||
|
assign n1_inv = ~n1;
|
||||||
|
endmodule
|
Loading…
Reference in New Issue