Added a test case
authorMiodrag Milanovic <mmicko@gmail.com>
Wed, 1 Jan 2020 15:24:30 +0000 (16:24 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Wed, 1 Jan 2020 15:24:30 +0000 (16:24 +0100)
tests/arch/xilinx/bug1605.ys [new file with mode: 0644]

diff --git a/tests/arch/xilinx/bug1605.ys b/tests/arch/xilinx/bug1605.ys
new file mode 100644 (file)
index 0000000..4be6598
--- /dev/null
@@ -0,0 +1,19 @@
+read_verilog <<EOT
+module top(inout io);
+    wire in;
+    wire t;
+    wire o;
+
+    IOBUF IOBUF(
+      .I(in),
+      .T(t),
+      .IO(io),
+      .O(o)
+    );
+endmodule
+EOT
+
+synth_xilinx
+cd top
+select -assert-count 1 t:IOBUF
+select -assert-none t:* t:IOBUF %d