nsgil85
Member level 4
Hi
suppose i have this procedure:
what is the syntex for assigning to it std_logic (not vector)
thanks
suppose i have this procedure:
Code:
procedure registery(signal clock : in std_logic;
signal rst : in std_logic;
signal input : in std_logic_vector;
signal output : out std_logic_vector)is
begin
if rst = '0' then
for i in output'range loop
output(i) <= '0';
end loop;
elsif rising_edge(clock) then
output <= input;
end if ;
end procedure registery ;
what is the syntex for assigning to it std_logic (not vector)
thanks