Add test
authorEddie Hung <eddie@fpgeh.com>
Thu, 12 Dec 2019 22:43:13 +0000 (14:43 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 12 Dec 2019 22:43:13 +0000 (14:43 -0800)
tests/arch/xilinx/tribuf.sh [new file with mode: 0644]

diff --git a/tests/arch/xilinx/tribuf.sh b/tests/arch/xilinx/tribuf.sh
new file mode 100644 (file)
index 0000000..636aed1
--- /dev/null
@@ -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"