Forum Discussion
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;process(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;