diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-26 18:14:52 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-26 19:48:44 +0200 |
commit | 19268309ee768de9c78f11e86071aaa9b3b28a06 (patch) | |
tree | b73883f453a2e63937ebae23fa926452b50efc20 /testsuite/gna/issue1379/bar3.vhdl | |
parent | c96c4bd50b89806af87fd85430be544a04bdb5c9 (diff) | |
download | ghdl-19268309ee768de9c78f11e86071aaa9b3b28a06.tar.gz ghdl-19268309ee768de9c78f11e86071aaa9b3b28a06.tar.bz2 ghdl-19268309ee768de9c78f11e86071aaa9b3b28a06.zip |
testsuite/gna: add tests for #1379
Diffstat (limited to 'testsuite/gna/issue1379/bar3.vhdl')
-rw-r--r-- | testsuite/gna/issue1379/bar3.vhdl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue1379/bar3.vhdl b/testsuite/gna/issue1379/bar3.vhdl new file mode 100644 index 000000000..20665a853 --- /dev/null +++ b/testsuite/gna/issue1379/bar3.vhdl @@ -0,0 +1,24 @@ +entity foo3 is + generic ( + LENGTH : natural + ); + port ( + input : in bit_vector(LENGTH - 1 downto 0) + ); +end foo3; + +architecture behave of foo3 is +begin +end behave; + +entity bar3 is +end entity bar3; + +architecture behave of bar3 is +begin + + my_foo : entity work.foo3 + port map ( + input => (others => '0') + ); +end behave; |