projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a576747
)
Add test
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 22 Nov 2019 00:13:28 +0000
(16:13 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 22 Nov 2019 00:13:28 +0000
(16:13 -0800)
tests/simple_abc9/abc9.v
patch
|
blob
|
history
diff --git
a/tests/simple_abc9/abc9.v
b/tests/simple_abc9/abc9.v
index 1844bac20cd313b2e9bfa4f61376e14656f74c5b..13c505eececc7cc9a3d194c678d64633f04ac25f 100644
(file)
--- a/
tests/simple_abc9/abc9.v
+++ b/
tests/simple_abc9/abc9.v
@@
-268,7
+268,12
@@
assign o = { 1'b1, 1'bx };
assign p = { 1'b1, 1'bx, 1'b0 };
endmodule
-module abc9_test029(input clk1, clk2,
input
d, output reg q1, q2);
+module abc9_test029(input clk1, clk2, d, output reg q1, q2);
always @(posedge clk1) q1 <= d;
always @(negedge clk2) q2 <= q1;
endmodule
+
+module abc9_test030(input clk, d, output reg q1, q2);
+always @(posedge clk) q1 <= d;
+always @(posedge clk) q2 <= q1;
+endmodule