vhdl-style-guide/tests/function/rule_015_test_input.fixed.vhd

43 lines
886 B
VHDL

architecture RTL of FIFO is
function func_1 (a : integer) return integer is
constant c : integer;
variable v : integer;
file f : something;
alias a is name;
begin
end function func1;
function func_1 (a : integer) return integer is
constant c : integer;
variable v : integer;
file f : something;
alias a is name;
-- Checking exclusions
constant c_abc : integer;
function my_func return integer is
constant c_abc : integer;
begin
end function;
constant c_abc : integer;
type flag_pt is protected body
variable flag : boolean;
end protected body;
begin
end function func1;
procedure proc_1 (a : integer) is
constant c : integer;
variable v : integer;
file f : something;
alias a is name;
begin
end procedure proc_1;
begin
end architecture RTL;