aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/xilinx
diff options
context:
space:
mode:
authorN. Engelhardt <nak@symbioticeda.com>2020-01-28 17:24:54 +0100
committerGitHub <noreply@github.com>2020-01-28 17:24:54 +0100
commit086c133ea58179b1b1a14bff972355c68f926e8d (patch)
tree7b0c1b159931be87b14147434685af7627a0690e /tests/arch/xilinx
parent409e5324333d881dadd64fa211b9a6aa86ce36e9 (diff)
parentdd7d2d8db615f7d54d9bbee257fad9fb11bdc9f8 (diff)
downloadyosys-086c133ea58179b1b1a14bff972355c68f926e8d.tar.gz
yosys-086c133ea58179b1b1a14bff972355c68f926e8d.tar.bz2
yosys-086c133ea58179b1b1a14bff972355c68f926e8d.zip
Merge pull request #1573 from YosysHQ/eddie/xilinx_tristate
synth_xilinx: error out if tristate without '-iopad'
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"