verilog: add sv_maps iterators
[ghdl-vlg.git] / testsuite / synth / issue2113 / testsuite.sh
blob34a0154359ec61a9a96cf7a20182098f64f2bf75
1 #! /bin/sh
3 . ../../testenv.sh
5 GHDL_STD_FLAGS=--std=08
6 synth --out=verilog -Wno-nowrite a.vhdl -e > syn_a.v
8 if grep channel syn_a.v; then
9 exit 1
11 if grep "0'" syn_a.v; then
12 exit 1;
15 synth --out=verilog -Wno-nowrite c.vhdl -e > syn_c.v
16 if grep channel syn_c.v; then
17 exit 1
20 echo "Test successful"