Clock generator

J

John

Guest
Dear All,

Is it possible to generate 1843200 Hz clock using a 10 MHz clock in
vhdl. If yes, would it be possible to give me the algorithm and I will
try to implement it. I did a clock divider, but it does work only when
the quotient is a power of 2.

Looking forward to hear from u,

Best regards,

John.
 
On 2 Aug 2004 23:17:11 -0700, johngalil@hotmail.com (John) wrote:

Dear All,

Is it possible to generate 1843200 Hz clock using a 10 MHz clock in
vhdl. If yes, would it be possible to give me the algorithm and I will
try to implement it. I did a clock divider, but it does work only when
the quotient is a power of 2.
http://fractional-divider.tripod.com/ contains a perl script that
generates fractional-N dividers in both VHDL and Verilog.

It used 28 ff for your exact frequency ratio.

Relaxing the frequency tolerance to 0.1% (this is a baud rate
generater, right?) reduced the size to 12 ff.

Regards,
Allan.
 
Thank you Allan, I generated the .vhd code, I will test, hope it will
work.

Yes, it is a baud rate generator. it is 16*115200 Hz requirement of
the uart trans/receiver.

Best regards,
Ahmad.

Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote in message news:<7mcug0t01ocdbj2dibf220d5vk8asu73ce@4ax.com>...
On 2 Aug 2004 23:17:11 -0700, johngalil@hotmail.com (John) wrote:

Dear All,

Is it possible to generate 1843200 Hz clock using a 10 MHz clock in
vhdl. If yes, would it be possible to give me the algorithm and I will
try to implement it. I did a clock divider, but it does work only when
the quotient is a power of 2.

http://fractional-divider.tripod.com/ contains a perl script that
generates fractional-N dividers in both VHDL and Verilog.

It used 28 ff for your exact frequency ratio.

Relaxing the frequency tolerance to 0.1% (this is a baud rate
generater, right?) reduced the size to 12 ff.

Regards,
Allan.
 

Welcome to EDABoard.com

Sponsor

Back
Top