projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81548d1
)
Add testcase for signal used as part input part output
author
Eddie Hung
<eddie@fpgeh.com>
Sat, 23 Nov 2019 00:52:55 +0000
(16:52 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Sat, 23 Nov 2019 00:52:55 +0000
(16:52 -0800)
tests/simple_abc9/abc9.v
patch
|
blob
|
history
diff --git
a/tests/simple_abc9/abc9.v
b/tests/simple_abc9/abc9.v
index 6bdd3bc3206aa8eb6cad50a2cdcaed1eb42a9650..8314af211dc7b64607287a625fe309b38a74eaa1 100644
(file)
--- a/
tests/simple_abc9/abc9.v
+++ b/
tests/simple_abc9/abc9.v
@@
-289,3
+289,8
@@
module abc9_test033(input clk, d, output reg q1, q2);
always @(posedge clk) q1 <= d;
always @(posedge clk) q2 <= q1;
endmodule
+
+module abc9_test034(input clk, d, output reg [1:0] q);
+always @(posedge clk) q[0] <= d;
+always @(negedge clk) q[1] <= q[0];
+endmodule