jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
192 stars 40 forks source link

Rules to enforce case on parameter class in procedures and functions #1263

Closed JHertz5 closed 1 month ago

JHertz5 commented 1 month ago

Is your feature request related to a problem? Please describe. I would like to have rules to enforce case on parameter classes (e.g. signal, constant, etc.) in functions and procedures. For example

architecture rtl of test is

  procedure overflow (
    a          : integer;
    VARIABLE a : integer;
    CONSTANT a : integer;
    SIGNAL   a : integer;
    FILE     a : file_type
  ) is
  begin

  end procedure overflow;

begin

end architecture rtl;

I would like a rule to change the parameter classes to lowercase.

JHertz5 commented 1 month ago

I am planning to raise a PR to address this. FYI @urbite.

JHertz5 commented 1 month ago

I've raise PR #1263.

jeremiah-c-leary commented 1 month ago

Morning @JHertz5 ,

Another perfect PR.

I will merge this to master.

Thanks again,

--Jeremy

JHertz5 commented 1 month ago

Thanks very much!