-
Notifications
You must be signed in to change notification settings - Fork 60
More range whitespace rules #1443
Copy link
Copy link
Closed
4 / 44 of 4 issues completedLabels
Description
There doesn't seem to be any rules to specify the number of spaces in these cases related to ranges:
library ieee;
use ieee.std_logic_1164.all;
entity b is
port (
c : in std_logic_vector( 7 downto 0) -- 1, 2
);
end entity b;
architecture a of b is
type my_array is array (natural range <>) of integer; -- 3, 4, 5
type my_array2 is array (natural range 0 to 7) of std_logic_vector( 7 downto 0); -- 1, 2, 3, 4, 5
begin
end architecture a;- In range specification, between starting parenthesis and first bound
- In range specification, between range type keyword (
to/downto) and second bound - In range definition, between index type and
rangekeyword - In range definition, between
rangekeyword and its definition - In array definition, between
arraykeyword and range definition.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
Done