diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/synth/issue1033/ent.vhdl | 10 | ||||
-rw-r--r-- | testsuite/synth/issue1033/entcos.vhdl | 10 | ||||
-rwxr-xr-x | testsuite/synth/issue1033/testsuite.sh | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/testsuite/synth/issue1033/ent.vhdl b/testsuite/synth/issue1033/ent.vhdl new file mode 100644 index 000000000..03ddebff0 --- /dev/null +++ b/testsuite/synth/issue1033/ent.vhdl @@ -0,0 +1,10 @@ +library ieee; +use ieee.math_real.all; + +entity ent is +end ent; + +architecture a of ent is + constant sin_val : real := sin(1.0); +begin +end a; diff --git a/testsuite/synth/issue1033/entcos.vhdl b/testsuite/synth/issue1033/entcos.vhdl new file mode 100644 index 000000000..ddc984a26 --- /dev/null +++ b/testsuite/synth/issue1033/entcos.vhdl @@ -0,0 +1,10 @@ +library ieee; +use ieee.math_real.all; + +entity entcos is +end entcos; + +architecture a of entcos is + constant cos_val : real := cos(1.0); +begin +end a; diff --git a/testsuite/synth/issue1033/testsuite.sh b/testsuite/synth/issue1033/testsuite.sh new file mode 100755 index 000000000..0a9016a09 --- /dev/null +++ b/testsuite/synth/issue1033/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +for f in ent entcos; do + synth $f.vhdl -e $f > syn_$f.vhdl +done +clean + +echo "Test successful" |