diff options
Diffstat (limited to 'testsuite/gna/issue381/test.vhdl')
-rw-r--r-- | testsuite/gna/issue381/test.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue381/test.vhdl b/testsuite/gna/issue381/test.vhdl new file mode 100644 index 000000000..5c988a7da --- /dev/null +++ b/testsuite/gna/issue381/test.vhdl @@ -0,0 +1,14 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity can_rx is + port ( + demo : in std_logic; + status : out std_logic_vector (31 downto 0) + ); +end can_rx; + +architecture rtl of can_rx is +begin + status(0) <= (0=>'0', others => '0') when demo = '1' else (0=>'1', others => '0'); +end rtl; |