mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-03 00:28:08 +00:00
bound attributes: handle vhdl null ranges
This commit is contained in:
parent
03033ab6d4
commit
378864d33b
5 changed files with 88 additions and 25 deletions
|
@ -83,6 +83,7 @@ entity test is
|
|||
end entity test;
|
||||
|
||||
architecture Behavioral of test is
|
||||
signal integer_with_range : INTEGER range -1 to 100;
|
||||
begin
|
||||
bit_out <= bit_in;
|
||||
bit_vector_out <= bit_vector_in;
|
||||
|
@ -103,4 +104,6 @@ begin
|
|||
integer_null_range_out <= integer_null_range_in;
|
||||
natural_out <= natural_in;
|
||||
positive_out <= positive_in;
|
||||
|
||||
integer_with_range <= 42;
|
||||
end architecture Behavioral;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue