blob: 5d396dcb9749f31077152303bc6803a25cfcfab0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
topdir=../..
. $topdir/testenv.sh
run_yosys -Q -q -p "ghdl ref.vhdl -e vector ref; write_verilog ref.v"
run_yosys -Q -q -p "ghdl ref.vhdl vector.vhdl -e vector synth; write_verilog vector.v"
run_yosys -Q -p '
read_verilog ref.v
rename vector ref
read_verilog vector.v
equiv_make ref vector equiv
hierarchy -top equiv
equiv_simple
equiv_status -assert'
clean
rm -f *.v
|