blob: 34a0154359ec61a9a96cf7a20182098f64f2bf75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /bin/sh
. ../../testenv.sh
GHDL_STD_FLAGS=--std=08
synth --out=verilog -Wno-nowrite a.vhdl -e > syn_a.v
if grep channel syn_a.v; then
exit 1
fi
if grep "0'" syn_a.v; then
exit 1;
fi
synth --out=verilog -Wno-nowrite c.vhdl -e > syn_c.v
if grep channel syn_c.v; then
exit 1
fi
echo "Test successful"
|