aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/xilinx/bug1605.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arch/xilinx/bug1605.ys')
-rw-r--r--tests/arch/xilinx/bug1605.ys19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/arch/xilinx/bug1605.ys b/tests/arch/xilinx/bug1605.ys
new file mode 100644
index 000000000..4be659860
--- /dev/null
+++ b/tests/arch/xilinx/bug1605.ys
@@ -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