D
Daku
Guest
Could some Verilog guru please help ? I have a simple divide-by-2
clock divider as:
always @ (posedge clock)
begin
if(divby2count == 2)
begin
divby2count <= 0;
divby2 <= 1;
end
else
begin
divby2count <= divby2count + 1;
divby2 <= 0;
end
end
Is there a simple way to specify and control the pulse width of
divby2, just for the main clock pulse.
Any hints. suggestions would be invaluable. Thanks in advance for your
help.
clock divider as:
always @ (posedge clock)
begin
if(divby2count == 2)
begin
divby2count <= 0;
divby2 <= 1;
end
else
begin
divby2count <= divby2count + 1;
divby2 <= 0;
end
end
Is there a simple way to specify and control the pulse width of
divby2, just for the main clock pulse.
Any hints. suggestions would be invaluable. Thanks in advance for your
help.