vhdl-style-guide/vsg/tests/function/rule_010_test_input.fixed.vhd

22 lines
315 B
VHDL

architecture RTL of FIFO is
function func_1 (a : integer) return integer;
function func_2 (b : integer) return integer;
begin
OUT1 <= func_1;
PROC1 : process () is
begin
sig1 <= func_1;
sig2 <= func_1(a) or func_2(b);
sig3 <= func_1 or func_2;
end process;
end architecture RTL;