blob: d7d94d6c0b2945c0e7b1e27dd9d03001bad7366b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
|