victor910
Newbie level 6
I have this code for a frequency divider
But first and second output in same phase. why "after 20 ns" do not working?
please help me.
Code dot - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ----------------------------- begin if (clk'event and clk='1') then count <=count+1; if (count = 0) then tmp <= NOT tmp; count <= 0; end if; tmp3 <= NOT tmp3 after 20 ns ; end if; clock_out <= tmp; clock_out3 <= tmp3; end process --------------------------------------
please help me.
Last edited by a moderator: