diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-06-16 07:48:22 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-06-16 07:48:22 +0200 |
commit | 4c0f9967e541b914a207bd4419d62d00d3e1745c (patch) | |
tree | 8d5edcededa4d1aa4d167cffcbaceca6aae3e596 /testsuite/synth/issue1781/testsuite.sh | |
parent | 9a913ec7ac5bc2193ec3df90bf7f43808f5c80c6 (diff) | |
download | ghdl-4c0f9967e541b914a207bd4419d62d00d3e1745c.tar.gz ghdl-4c0f9967e541b914a207bd4419d62d00d3e1745c.tar.bz2 ghdl-4c0f9967e541b914a207bd4419d62d00d3e1745c.zip |
testsuite/synth: add test for #1781
Diffstat (limited to 'testsuite/synth/issue1781/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue1781/testsuite.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/synth/issue1781/testsuite.sh b/testsuite/synth/issue1781/testsuite.sh new file mode 100755 index 000000000..47c90a237 --- /dev/null +++ b/testsuite/synth/issue1781/testsuite.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +. ../../testenv.sh + + +export GHDL_STD_FLAGS=--std=08 + +synth_tb simple2 + +synth --out=none imem2a.vhdl -e 2> imem2a.err +grep -q "width: 16 bits, depth: 256" imem2a.err + +synth_analyze imem2 + + +clean +echo "Test successful" |