diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-08-25 20:26:26 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-08-26 04:48:19 +0200 |
commit | 499bdc6d514953f764d6b28892bcc7511c4e787e (patch) | |
tree | a41cd18052526b7a6b4feb9a27e9420cde0097cd /testsuite/gna/issue1404/tb.vhdl | |
parent | af951f4502ee91f1230802f1fd62383017c76185 (diff) | |
download | ghdl-499bdc6d514953f764d6b28892bcc7511c4e787e.tar.gz ghdl-499bdc6d514953f764d6b28892bcc7511c4e787e.tar.bz2 ghdl-499bdc6d514953f764d6b28892bcc7511c4e787e.zip |
testsuite/gna: add reproducer for #1404
Diffstat (limited to 'testsuite/gna/issue1404/tb.vhdl')
-rw-r--r-- | testsuite/gna/issue1404/tb.vhdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue1404/tb.vhdl b/testsuite/gna/issue1404/tb.vhdl new file mode 100644 index 000000000..bf410f4e9 --- /dev/null +++ b/testsuite/gna/issue1404/tb.vhdl @@ -0,0 +1,19 @@ +use work.types_pkg.all; + +entity design_tb is +end entity; + +architecture testbench of design_tb is + constant PERIOD : time := 10 ns; + + signal clk : bit := '1'; + + type pass_through_t is record + texture_id : mytype_t; + end record; + + signal input_pass_through : pass_through_t; + +begin + clk <= '0' after 1 ns, '1' after 2 ns; +end architecture; |