diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-02-17 06:51:09 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-02-17 21:04:46 +0100 |
commit | f3be74ecaf73e793a1496467776e8991e79c1c1c (patch) | |
tree | 3abf61def84078f3e4392886b7aaf7ab2642de61 /testsuite/gna/issue40/test.vhdl | |
parent | cde4fea7fd2216303110cdefc41177119a2de665 (diff) | |
download | ghdl-f3be74ecaf73e793a1496467776e8991e79c1c1c.tar.gz ghdl-f3be74ecaf73e793a1496467776e8991e79c1c1c.tar.bz2 ghdl-f3be74ecaf73e793a1496467776e8991e79c1c1c.zip |
Add issue40 testcase.
Diffstat (limited to 'testsuite/gna/issue40/test.vhdl')
-rw-r--r-- | testsuite/gna/issue40/test.vhdl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testsuite/gna/issue40/test.vhdl b/testsuite/gna/issue40/test.vhdl new file mode 100644 index 000000000..ca00ece42 --- /dev/null +++ b/testsuite/gna/issue40/test.vhdl @@ -0,0 +1,36 @@ +library ieee; + use ieee.std_logic_1164.all; + use ieee.numeric_std.all; + +entity a is +port +( + foo : in std_ulogic_vector +); +end a; + +architecture rtl of a is +begin +end rtl; + +library ieee; + use ieee.std_logic_1164.all; + use ieee.numeric_std.all; + +entity b is +port +( + bar : inout std_logic_vector(7 downto 0) +); +end b; + +architecture rtl of b is +begin + +i_a: entity work.a +port map +( + foo => std_ulogic_vector(bar) +); +end rtl; + |