diff options
Diffstat (limited to 'testsuite/gna/issue2065/repro.vhdl')
-rw-r--r-- | testsuite/gna/issue2065/repro.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue2065/repro.vhdl b/testsuite/gna/issue2065/repro.vhdl new file mode 100644 index 000000000..a6dc56d26 --- /dev/null +++ b/testsuite/gna/issue2065/repro.vhdl @@ -0,0 +1,15 @@ +entity repro is + generic (depth : natural := 5); + port (inp : bit := '0'); +end entity; + +architecture mult of repro is + signal s : bit; +begin + gen: if depth > 0 generate + inst : entity work.repro + generic map (depth => depth - 1) + port map(inp => s and inp); + end generate; +end architecture mult; + |