blob: a0db873f789ad3023fd96d4ff20af481ad3c9106 (
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 blackbox1.vhdl -e; write_verilog blackbox1.v"
fgrep -q "my_blackbox" blackbox1.v
run_yosys -q -p "ghdl blackbox2.vhdl -e; write_verilog blackbox2.v"
fgrep -q ".OUT(" blackbox2.v
run_yosys -q -p "ghdl blackbox3.vhdl -e; write_verilog blackbox3.v"
fgrep -q "\lib__cell__box2.3 " blackbox3.v
fgrep -q ".O(" blackbox3.v
clean
echo OK
|