diff options
| author | Rodrigo Alejandro Melo <rodrigomelo9@gmail.com> | 2017-11-28 22:52:42 -0300 |
|---|---|---|
| committer | Rodrigo Alejandro Melo <rodrigomelo9@gmail.com> | 2017-11-28 22:52:42 -0300 |
| commit | 37e85b47814e2275e80cd2b949338292cb20551b (patch) | |
| tree | 621e7d3cc6c9e800924efa880334f74f85f3bae2 /examples | |
| parent | c6fa3c303c7dd2ad8d6a394d0f9c1b9a4685082d (diff) | |
| download | vhdl2vl-37e85b47814e2275e80cd2b949338292cb20551b.tar.gz vhdl2vl-37e85b47814e2275e80cd2b949338292cb20551b.zip | |
Added support to entity instantiations
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/genericmap.vhd | 7 | ||||
| -rw-r--r-- | examples/todo.vhd | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/examples/genericmap.vhd b/examples/genericmap.vhd index c5275ba..876f159 100644 --- a/examples/genericmap.vhd +++ b/examples/genericmap.vhd @@ -95,4 +95,11 @@ begin memaddr => memaddr, memdout => memdout ); + + signextend_inst2 : entity work.signextend + port map ( + i => "0000000000000000", + o => open + ); + end rtl; diff --git a/examples/todo.vhd b/examples/todo.vhd index c0cdbd9..79b3e59 100644 --- a/examples/todo.vhd +++ b/examples/todo.vhd @@ -37,16 +37,10 @@ begin --************************************************************************** -- Concatenation in port assignament fail -- uns <= "0000" & X"1"; -- It is supported --- dut1_i: signextend +-- dut1_i: entity work.signextend -- port map ( -- i => "00000000" & X"11", -- But here fail -- o => open -- ); - -- Unsupported type of instantiation --- dut2_i: entity work.signextend --- port map ( --- i => (others => '0'), --- o => open --- ); end rtl; |

