projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df63d75
)
Add multi clock test
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 20 Nov 2019 21:28:55 +0000
(13:28 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 20 Nov 2019 21:28:55 +0000
(13:28 -0800)
tests/simple_abc9/abc9.v
patch
|
blob
|
history
diff --git
a/tests/simple_abc9/abc9.v
b/tests/simple_abc9/abc9.v
index 64b625efed521aa6b18c1358dbebf34e892e6a53..1844bac20cd313b2e9bfa4f61376e14656f74c5b 100644
(file)
--- a/
tests/simple_abc9/abc9.v
+++ b/
tests/simple_abc9/abc9.v
@@
-267,3
+267,8
@@
module abc9_test026(output [3:0] o, p);
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);
+always @(posedge clk1) q1 <= d;
+always @(negedge clk2) q2 <= q1;
+endmodule