diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-02-16 17:14:53 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-02-16 17:14:53 +0100 |
commit | 56a6d968b646f60d8c248b9838455431382081ea (patch) | |
tree | caacc116eb4808f6ba01111117bf53c91cbfefdd /testsuite/issue7/ref.vhdl | |
parent | ecf716c5510cd3b4f0006ba4ff074107e76d88ba (diff) | |
download | ghdl-yosys-plugin-56a6d968b646f60d8c248b9838455431382081ea.tar.gz ghdl-yosys-plugin-56a6d968b646f60d8c248b9838455431382081ea.tar.bz2 ghdl-yosys-plugin-56a6d968b646f60d8c248b9838455431382081ea.zip |
Testcase for issue #7
Diffstat (limited to 'testsuite/issue7/ref.vhdl')
-rw-r--r-- | testsuite/issue7/ref.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/issue7/ref.vhdl b/testsuite/issue7/ref.vhdl new file mode 100644 index 0000000..63dc225 --- /dev/null +++ b/testsuite/issue7/ref.vhdl @@ -0,0 +1,13 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity vector is + port (led0, led1, led2, led3, led4, led5, led6, led7: out std_logic); +end vector; + +architecture ref of vector is + signal v : std_logic_vector(7 downto 0); +begin + -- It works ok + (led7, led6, led5, led4, led3, led2, led1, led0) <= std_logic_vector'("10101010"); +end; |