vhdl-style-guide/vsg/tests/function/rule_017_test_input.fixed_u...

31 lines
491 B
VHDL

architecture RTL of FIFO is
function FUNC1 return integer;
pure function FUNC1 return integer;
impure function FUNC1 return integer;
function FUNC1 return integer is
begin
end function func1;
-- Violations follow
function FUNC1 return integer;
function FUNC1 return integer;
pure function FUNC1 return integer;
pure function FUNC1 return integer;
impure function FUNC1 return integer;
impure function FUNC1 return integer;
begin
end architecture RTL;