diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-04-15 07:24:37 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-04-15 07:24:37 +0200 |
commit | db69b8f4bb4a27971774aa8ac2a93e10383a4b83 (patch) | |
tree | c551a6a420f99846719aa74dca5501ecce6e044a /testsuite/gna/issue1724/const_test_vunit.vhdl | |
parent | df9f4b18dc47d5a6561da4a26d33ab66bdf4e39b (diff) | |
download | ghdl-db69b8f4bb4a27971774aa8ac2a93e10383a4b83.tar.gz ghdl-db69b8f4bb4a27971774aa8ac2a93e10383a4b83.tar.bz2 ghdl-db69b8f4bb4a27971774aa8ac2a93e10383a4b83.zip |
testsuite/gna: add test for #1724
Diffstat (limited to 'testsuite/gna/issue1724/const_test_vunit.vhdl')
-rw-r--r-- | testsuite/gna/issue1724/const_test_vunit.vhdl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue1724/const_test_vunit.vhdl b/testsuite/gna/issue1724/const_test_vunit.vhdl new file mode 100644 index 000000000..715049120 --- /dev/null +++ b/testsuite/gna/issue1724/const_test_vunit.vhdl @@ -0,0 +1,8 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +vunit const_test_vunit (const_test(rtl)) +{ + constant depth : positive := 2**addr_width; +} |