Guest
Hi,
If I have to decimate by 10.
Is it better to create a second clock2=1/10 clock1 from a counter
or
in the second stage working at clock2, make work this part on clock1
in multi-cycle
always@(posedge clock1)
if (reset)
....
else
if (count=9)
design to work at clk2
end
end
or
always @posedge clock2
if (reset)
....
else
design working at clk2
end
I guess it is safety to use all on clock1 domain, easier for the
synthesis tool...
We don't have to take care of te delay between clock1 and clock2
generated with clock1
Thanks
If I have to decimate by 10.
Is it better to create a second clock2=1/10 clock1 from a counter
or
in the second stage working at clock2, make work this part on clock1
in multi-cycle
always@(posedge clock1)
if (reset)
....
else
if (count=9)
design to work at clk2
end
end
or
always @posedge clock2
if (reset)
....
else
design working at clk2
end
I guess it is safety to use all on clock1 domain, easier for the
synthesis tool...
We don't have to take care of te delay between clock1 and clock2
generated with clock1
Thanks