Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clock divider by 1.5

908 views
Skip to first unread message

Goran

unread,
Feb 21, 2001, 5:25:12 AM2/21/01
to
Im beginer in vhdl and i need to create a clock divider by 1.5.I have found such one in edn magazine (on the web) but it didnt help me.Does someone have better idea then the one in edn magsine.

If someone wants to look at the design in edn : http://www.ednmag.com/ednmag/reg/1996/101096/21di_05.htm

Peter Alfke

unread,
Feb 21, 2001, 12:41:02 PM2/21/01
to Goran
You have two different choices:

If your incoming clock has a 50% duty cycle, just use both edges, as described in
http://www.xilinx.com/xcell/xl33/xl33_30.pdf

If   you don't want to trust the duty cycle, you must first double the clock frequency, then divide by 3.
All Virtex devices have a clock-frequency doubler in their DLL, so the solution is trivial.

Peter Alfke, Xilinx Applications
========================

Alex Gaivoronsky

unread,
Feb 22, 2001, 4:03:10 AM2/22/01
to
Just idea.
You can use booth rising and falling edges from master clock. You need
to build clock doubler - just use exclusive or with clock, and delayed
clock. Then just divide by 3.

Alexander
Goran <goran_...@yahoo.com> wrote in message
news:ee6fc...@WebX.sUN8CHnE...

Wolfgang Loewer

unread,
Feb 22, 2001, 4:11:58 AM2/22/01
to
Goran,

you might want to take a look at Alteras APEX 20KE architecture. These
devices have on-chip PLLs, that allow to multiply incoming clocks by
m/(n*k). With the Altera Megawizard you would paramterize your PLL and
generate a black box which you could then put into your clock path by
instantiating it within your VHDL code.
It's usualy better design technique to use something like a PLL rather than
combinatorial, asynchronous logic or even combinatorial feedback loops
within a clock path.

Regards
Wolfgang


Goran <goran_...@yahoo.com> wrote in message
news:ee6fc...@WebX.sUN8CHnE...

Utku Ozcan

unread,
Feb 22, 2001, 4:20:06 AM2/22/01
to
Goran wrote:

> Im beginer in vhdl and i need to create a clock divider by 1.5.I have found such one in edn magazine (on the web) but it didnt help me.Does someone have better idea then the one in edn magsine.
>
> If someone wants to look at the design in edn : http://www.ednmag.com/ednmag/reg/1996/101096/21di_05.htm

Peter Alfke from Xilinx has an clock divide by 1.5
implementation in Xilinx technology:
http://www.xilinx.com/xcell/xl33/xl33_30.pdf

Utku


goran

unread,
Mar 12, 2001, 8:31:59 AM3/12/01
to
first thank you all for taking time to help me and second :clock divider i found in the article didnt wok so good maybe it is becouse im using a xc4k device.i thought to make a clock multiplier (all multipliers use some sort of delay) but i dont have a dll in my libraries (im using xilinx foundation to make designs).if someone has some other idea or can help me with this please do so .(i need to extract 1.08mhz clock from 12.15mhz one)

Ray Andraka

unread,
Mar 12, 2001, 11:49:36 AM3/12/01
to
You can use direct digital synthesis to get a 1.08 MHz clock from an 12.15 MHz
one. It will have jitter up to one cycle time of the 12.15 MHz clock on it. T
oreduce the jitter use a faster master clock. For details on the direct digital
synthesis, look back in this newsgroups archives in deja news for DDFS or direct
digital synthesis. It has been discussed here many times.

goran wrote:
>
> first thank you all for taking time to help me and second :clock divider i found in the article didnt wok so good maybe it is becouse im using a xc4k device.i thought to make a clock multiplier (all multipliers use some sort of delay) but i dont have a dll in my libraries (im using xilinx foundation to make designs).if someone has some other idea or can help me with this please do so .(i need to extract 1.08mhz clock from 12.15mhz one)

--
-Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email r...@andraka.com
http://www.andraka.com or http://www.fpga-guru.com

Bertram Geiger

unread,
Mar 12, 2001, 1:40:40 PM3/12/01
to
goran schrieb:

>
> first thank you all for taking time to help me and second :clock divider i found in the article didnt wok so good maybe it is becouse im using a xc4k device.i thought to make a clock multiplier (all multipliers use some sort of delay) but i dont have a dll in my libraries (im using xilinx foundation to make designs).if someone has some other idea or can help me with this please do so .(i need to extract 1.08mhz clock from 12.15mhz one)

Did i miss something ? I understood that you first asked for a divider
by 1.5
The above is a divider by 11.25 or by 45/4
That results in a modulo 45 counter, incremented by 4 with every cycle

Bertram


--
Bertram Geiger, bge...@aon.at
HTL Bulme Graz-Goesting - AUSTRIA

goran

unread,
Mar 13, 2001, 3:48:57 AM3/13/01
to
to bertram geiger
You are wright about clock but it is not the only clock i need to extract so i thought to do it by dividing in couple segments so that it will be easier to get other clocks.As i wrote earlier im novice in vhdl so if you can help me with mod counter i will be thankfull.(im learning while working so all information is more than wellcome)
0 new messages