Forum Discussion
Altera_Forum
Honored Contributor
10 years agoIt looks my own VHDL is getting rusty.
I suggest this clean way for en1in2 & en1in4
process(clk)
if rising_edge(clk) then
en1in2 <= not en1in2;
en1in4 <= '0';
if in1in2 = '1' then
in1in4 <= not en1in4;
end if;
end if;
end process;