Test for (* keep *)-ed abc9_box_id
authorEddie Hung <eddie@fpgeh.com>
Fri, 24 Jan 2020 02:56:25 +0000 (18:56 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 24 Jan 2020 02:56:25 +0000 (18:56 -0800)
tests/simple_abc9/abc9.v

index ee01ab5dc513995e451eaab7e354beb96b6de294..52ccb3e1d65d2ba098db7d2fd1ff6f6c89eb7105 100644 (file)
@@ -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