diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-01-19 19:55:37 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-01-19 19:55:37 +0100 |
commit | cad4bda6a8c85c8103216324307206197152c417 (patch) | |
tree | 30deb22406276bfacd23ed789981e6d652c0194f /testsuite/gna/bug24326/tb_thingy7.vhdl | |
parent | 2fae5481006fafb916675c528a7ee230be89ec0b (diff) | |
download | ghdl-cad4bda6a8c85c8103216324307206197152c417.tar.gz ghdl-cad4bda6a8c85c8103216324307206197152c417.tar.bz2 ghdl-cad4bda6a8c85c8103216324307206197152c417.zip |
Add reproducer for bug24326.
Diffstat (limited to 'testsuite/gna/bug24326/tb_thingy7.vhdl')
-rw-r--r-- | testsuite/gna/bug24326/tb_thingy7.vhdl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/gna/bug24326/tb_thingy7.vhdl b/testsuite/gna/bug24326/tb_thingy7.vhdl new file mode 100644 index 000000000..6df4205ca --- /dev/null +++ b/testsuite/gna/bug24326/tb_thingy7.vhdl @@ -0,0 +1,27 @@ +entity tb_thingy is +end tb_thingy; + +architecture tb of tb_thingy is + component thingy is + generic ( + a_a : integer + ); + port ( + x_x : in bit; + y_y : out bit + ); + end component; + signal stimuli : bit; + signal response : bit; +begin + + dut : thingy + generic map ( + a_a => 42 + ) + port map ( + x%x => stimuli, -- <== + y_y => response + ); + +end tb; |