aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-12-12 14:43:13 -0800
committerEddie Hung <eddie@fpgeh.com>2019-12-12 14:43:13 -0800
commit47ac1b01e673c1fc6f0010237c66d9b20957dcd0 (patch)
treec5191c55c99d95b0f87f6392c416af2d00610bdd /tests/arch/xilinx
parent3bd623bb05c0be74b024f5635e754e794bd6316c (diff)
downloadyosys-47ac1b01e673c1fc6f0010237c66d9b20957dcd0.tar.gz
yosys-47ac1b01e673c1fc6f0010237c66d9b20957dcd0.tar.bz2
yosys-47ac1b01e673c1fc6f0010237c66d9b20957dcd0.zip
Add test
Diffstat (limited to 'tests/arch/xilinx')
-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"