diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-22 22:16:05 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-23 07:24:03 +0200 |
commit | 4c3d63af12bcd1a346696b1ce9a226f5b83456ad (patch) | |
tree | 0d92ba4fc8e80c27c974b56a7a63e8fe615b4bc1 /testsuite/gna/issue1672/test.vhdl | |
parent | a20bce35a9ee05e8e2a4599e510d08fe2fd9ebc5 (diff) | |
download | ghdl-4c3d63af12bcd1a346696b1ce9a226f5b83456ad.tar.gz ghdl-4c3d63af12bcd1a346696b1ce9a226f5b83456ad.tar.bz2 ghdl-4c3d63af12bcd1a346696b1ce9a226f5b83456ad.zip |
testsuite/gna: add test for #1672
Diffstat (limited to 'testsuite/gna/issue1672/test.vhdl')
-rw-r--r-- | testsuite/gna/issue1672/test.vhdl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/issue1672/test.vhdl b/testsuite/gna/issue1672/test.vhdl new file mode 100644 index 000000000..c3fc5f13f --- /dev/null +++ b/testsuite/gna/issue1672/test.vhdl @@ -0,0 +1,22 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity test is +end entity; + +architecture a of test is + + constant num_ports : positive := 4; + signal clock : std_logic := '0'; + +begin + + dut_inst : entity work.dut + generic map ( + num_ports => num_ports + ) + port map ( + clocks => (others => clock) + ); + +end architecture; |