Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using 2 clock inputs in a FPGA

Status
Not open for further replies.

djnik1362

Full Member level 2
Joined
Aug 9, 2010
Messages
136
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
IRAN
Activity points
2,374
Hi

I have a design that using a clock for driving an audio CODEC and audio processing stuffs at 18.432 MHz and a 50 MHz clock for other
stuffs . Can i use these Non-Synchronized clocks with each other in a same design ? I prefer to use a DCM with 18.432 MHz input but the best frequency i can get is 50.688 MHz .

Whats is the best solution for this scheme ?

Thanks for your support .
 

I'm not 100% certain on your requirements but usually the way to do it is using a PLL to generate clocks. And luckily decent FPGAs usually have a programmable PLL. So use it.

But as a disclaimer I'm not sure about your question. I'm saying these after seeing questions about multiple clocks.
 

you can mix clock domains just fine - as long as you get the data across the boundary safely - eg. using a dual clock FIFO.

- - - Updated - - -

And going from slow to fast means you wont ever overflow the FIFO.
 

I feel tempted to mention that we don't like pure link answers at Edaboard.

djnik1632 is asking a specific question and the link doesn't actually answer it. I believe that the link gives a basic explanation about multiple clock domain setups, but the OP is asking about a best solution for the said frequency combination.

- - - Updated - - -

You might find out that 50/18.432 = 128*9/3125. A special PLL would be able to derive one from the other clock. But in your design, they have to be treated as asynchronous clocks anyway. In so far, it's not important from the domain crossing viewpoint, if they are sourced from different clock oscillators which is probably the most simple solution.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top