aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple_abc9/abc9.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-27 13:29:15 -0800
committerGitHub <noreply@github.com>2020-01-27 13:29:15 -0800
commit48f3f5213eb25237b2e856827a45a9f2baefebe9 (patch)
treee6764a9f58b0c51995c2575377749edd4e6c9b14 /tests/simple_abc9/abc9.v
parentaf8281d2f5e3945a8bb93dd7c7400aafb29af3b8 (diff)
parent9009b76a69b9e867f69295a8e555305925e83aeb (diff)
downloadyosys-48f3f5213eb25237b2e856827a45a9f2baefebe9.tar.gz
yosys-48f3f5213eb25237b2e856827a45a9f2baefebe9.tar.bz2
yosys-48f3f5213eb25237b2e856827a45a9f2baefebe9.zip
Merge pull request #1619 from YosysHQ/eddie/abc9_refactor
Refactor `abc9` pass
Diffstat (limited to 'tests/simple_abc9/abc9.v')
-rw-r--r--tests/simple_abc9/abc9.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/simple_abc9/abc9.v b/tests/simple_abc9/abc9.v
index 4dc5ad689..e5837d480 100644
--- a/tests/simple_abc9/abc9.v
+++ b/tests/simple_abc9/abc9.v
@@ -291,3 +291,19 @@ module abc9_test035(input clk, d, output reg [1:0] q);
always @(posedge clk) q[0] <= d;
always @(negedge clk) q[1] <= q[0];
endmodule
+
+module abc9_test036(input A, B, S, output [1:0] O);
+ (* keep *)
+ MUXF8 m (
+ .I0(I0),
+ .I1(I1),
+ .O(O[0]),
+ .S(S)
+ );
+ MUXF8 m2 (
+ .I0(I0),
+ .I1(I1),
+ .O(O[1]),
+ .S(S)
+ );
+endmodule