rg350dxlover
Member level 1
Hi.
How do I terminate a process in VHDL? Basically I have this:
What value should be assigned to the balance_out when gate_open <= 0?
Thanks.
How do I terminate a process in VHDL? Basically I have this:
What value should be assigned to the balance_out when gate_open <= 0?
Code:
process(balance_in, task_controller)
begin
gate_open <= '0';
balance_out <= "0000000000000000";
if task_controller = "1010" then
if balance_in <= "101000110-------" then
gate_open <= '1';
balance_out <= "1010001100100000";
end if;
end if;
end process;
Thanks.