diff options
Diffstat (limited to 'testsuite/issues/issue61/testsuite.sh')
-rwxr-xr-x | testsuite/issues/issue61/testsuite.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/issues/issue61/testsuite.sh b/testsuite/issues/issue61/testsuite.sh new file mode 100755 index 0000000..d7d94d6 --- /dev/null +++ b/testsuite/issues/issue61/testsuite.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +topdir=../.. +. $topdir/testenv.sh + +run_yosys -q -p "ghdl vector.vhdl -e vector; dump -o vector.il" + +#grep -q 0000000000000000000000000000000011111111111111111111111111111010 vector.il || exit 1 +grep -q 0000000011111111111111111111111111111111111111111111111100000000 vector.il || exit 1 +grep -q 1111111111111111111111111111111111111111111111111111111111111111 vector.il || exit 1 +grep -q 0000111111111111111111111111111111111111111111111111111111110000 vector.il || exit 1 + +rm -f vector.il + +clean + +echo "OK" |