From db69b8f4bb4a27971774aa8ac2a93e10383a4b83 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 15 Apr 2021 07:24:37 +0200 Subject: testsuite/gna: add test for #1724 --- testsuite/gna/issue1724/const_test.vhdl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testsuite/gna/issue1724/const_test.vhdl (limited to 'testsuite/gna/issue1724/const_test.vhdl') 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; -- cgit v1.2.3