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.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.vhdl')
-rw-r--r-- | testsuite/gna/issue1724/const_test.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue1724/const_test.vhdl b/testsuite/gna/issue1724/const_test.vhdl new file mode 100644 index 000000000..0a18e5b01 --- /dev/null +++ b/testsuite/gna/issue1724/const_test.vhdl @@ -0,0 +1,16 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity const_test is + generic ( + addr_width : positive := 5 + ); + port ( + clk : in std_logic + ); +end entity; + +architecture rtl of const_test is +begin +end architecture rtl; |