3
0
Fork 0
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:
N. Engelhardt 2024-12-12 11:42:39 +01:00
parent 03033ab6d4
commit 378864d33b
5 changed files with 88 additions and 25 deletions

View file

@ -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;