aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/xilinx/tribuf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arch/xilinx/tribuf.sh')
-rw-r--r--tests/arch/xilinx/tribuf.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/arch/xilinx/tribuf.sh b/tests/arch/xilinx/tribuf.sh
new file mode 100644
index 000000000..636aed12a
--- /dev/null
+++ b/tests/arch/xilinx/tribuf.sh
@@ -0,0 +1,5 @@
+! ../../../yosys ../common/tribuf.v -qp "synth_xilinx"
+../../../yosys ../common/tribuf.v -qp "synth_xilinx -iopad; \
+select -assert-count 2 t:IBUF; \
+select -assert-count 1 t:INV; \
+select -assert-count 1 t:OBUFT"