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.

How to use multiple clocks in a VHDL based data path?

Status
Not open for further replies.

nashafi

Member level 1
Member level 1
Joined
Nov 11, 2004
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
294
vhdl multiple clocks

Hi,

I am designing a decimation filter for a data standard like ardis or mobitex.
since there is a lot of upsampling and downsampling going on so i need multiple clocks all the way in my pipeline.
How can i write different clocks for my test bench. I am confused about how can i associate different frequencies with different components in my top file


Thanks,

-Nauman
 

datapath vhdl

xilinx FPGA's offers multiple clock inputs u can use them all at the same time,

xilinx FPGA's also contains a DLL which can be used to divide a clock or multibly it by a factor or even create a phase shift from the input clock.

check out xilinx spartan2 FPGA's they are really good.
 

multiple clocks vhdl

In the testbench the frequency is not the problem.
In one data pipeline the clock frequency have to be a single one.
When 2 pipelines with different frequencies are connected together
2 situations occur.
When one frequency is equal to multiplied second frequency,
or the frequencies have small common divident
then
both pipelines must have a single frequency which is highest of them,
or can be divided to both of them.
When the frequencies have the great common divident,
then
an FIFO buffer is introduced which consists of 2,3 or higher latch stages.
For example f1=2 MHz, f2=3 MHz then
the common frequency is 6 MHz which is their divident.
 

    nashafi

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top