aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-12-02 10:20:21 +0000
committerGitHub <noreply@github.com>2019-12-02 10:20:21 +0000
commit7f35b2ff62c28522a1df8bc09c77248ed494956b (patch)
tree2d4892897d2024884ac62a1f8bb5bd7279594b9c /tests
parentcacf870d85c6b19609da4de018a7cc373da6d638 (diff)
parente9ce4e658b2dddfc808e1d0383a5b93a906e2bbb (diff)
downloadyosys-7f35b2ff62c28522a1df8bc09c77248ed494956b.tar.gz
yosys-7f35b2ff62c28522a1df8bc09c77248ed494956b.tar.bz2
yosys-7f35b2ff62c28522a1df8bc09c77248ed494956b.zip
Merge pull request #1542 from YosysHQ/dave/abc9-loop-fix
abc9: Fix breaking of SCCs
Diffstat (limited to 'tests')
-rw-r--r--tests/simple_abc9/abc9.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/simple_abc9/abc9.v b/tests/simple_abc9/abc9.v
index 4d5879e6f..de60619d1 100644
--- a/tests/simple_abc9/abc9.v
+++ b/tests/simple_abc9/abc9.v
@@ -258,3 +258,9 @@ 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_test030(input [3:0] d, input en, output reg [3:0] q);
+always @*
+ if (en)
+ q <= d;
+endmodule