aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug24326/tb_thingy7.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-01-19 19:55:37 +0100
committerTristan Gingold <tgingold@free.fr>2016-01-19 19:55:37 +0100
commitcad4bda6a8c85c8103216324307206197152c417 (patch)
tree30deb22406276bfacd23ed789981e6d652c0194f /testsuite/gna/bug24326/tb_thingy7.vhdl
parent2fae5481006fafb916675c528a7ee230be89ec0b (diff)
downloadghdl-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.vhdl27
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;