Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFlip-flop by using logic gates
hi I am a new to VHDL and currently doing VHDL assignment. In this assignment, required to create the D, JK flip-flop. I need help to solve my error for my code as shown as below: l...
Altera_Forum
Honored Contributor
14 years agoprocess(clk)
begin
if rising_edge(clk)then
Qi <=(J and (not Qi)) or ((not K) and Qi);
end if;
qn <=not Qi ;
Q <= Qi ;
end process;