diff options
author | David Shah <dave@ds0.me> | 2019-12-01 20:44:56 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-12-01 20:44:56 +0000 |
commit | e9ce4e658b2dddfc808e1d0383a5b93a906e2bbb (patch) | |
tree | 65fbe97bf3b53791608232f96a8148c8f01d0e70 /tests/simple_abc9 | |
parent | 5f4c35c7535f5a595d4e4f1adbd23b9bd594e205 (diff) | |
download | yosys-e9ce4e658b2dddfc808e1d0383a5b93a906e2bbb.tar.gz yosys-e9ce4e658b2dddfc808e1d0383a5b93a906e2bbb.tar.bz2 yosys-e9ce4e658b2dddfc808e1d0383a5b93a906e2bbb.zip |
abc9: Fix breaking of SCCs
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'tests/simple_abc9')
-rw-r--r-- | tests/simple_abc9/abc9.v | 6 |
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 |