vhdl-style-guide/tests/procedure/rule_410_test_input.fixed.vhd

95 lines
2.0 KiB
VHDL

package FIFO_PKG is
procedure AVERAGE_SAMPLES;
procedure AVERAGE_SAMPLES (constant a : in integer; signal b : in std_logic; variable c : in std_logic; file d : text);
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable c : in std_logic;
file d : text;
some_sig : inout t_some_type);
-- Violations below this line
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable ccc : in std_logic;
file d : text;
some_sig : inout t_some_type);
end package FIFO_PKG;
package body FIFO_PKG is
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable c : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
-- Violations below this line
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable ccc : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
end package body FIFO_PKG;
architecture RTL of ENT is
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable c : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
-- Violations below this line
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable ccc : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
begin
TEST_PROCESS : process
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable c : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
-- Violations below this line
procedure AVERAGE_SAMPLES (
constant a : in integer;
signal b : in std_logic;
variable ccc : in std_logic;
file d : text) is
begin
end procedure AVERAGE_SAMPLES;
begin
end process TEST_PROCESS;
end architecture RTL;