I need 2 clocks running at different frequencies. I tried:
forever
begin
#5ns clk1=~clk1;
#4ns clk2=~clk2;
end
With this code, clk2 will generate after clk1 is done, but they wontwon't generate at the same time. Is there anyway
How can I write the Verilog code to make it workensure that the two clocks (clk1 and clk2) will generate at the same time?