PCI + FPGA Interface... Clock

Status
Not open for further replies.

Sink0

Full Member level 6
Joined
Nov 25, 2009
Messages
390
Helped
37
Reputation
74
Reaction score
30
Trophy points
1,308
Location
Sao Paulo, Brazil
Activity points
4,186
Hi i have couple questions about creating a PCI - FPGA Interface..

First.. is it mandatory to feed FPGA with PCI clock? Is PCI clock 33Mhz or 100/3Mhz (33.3333....Mhz)?

If i feed FPGA with 2 clocks, PCI clock and some other one to run other blocks, which problems am i going to have to make blocks feeded by each clock to talk?

Thank you!
 

For a multi-clock design, you will generally use FIFO's to send data between each clock domain. for simple status, you might use "synchronizers", or two registers in a row. This makes it very unlikely (like once every billion years) that a metastable value will be passed to the other clock domain.

If the clock domains are related, eg 266...MHz and 33...MHz, then you can simply tell the tools this and allow them to ensure setup/hold times are met. you may have some issues with skew though, if the 33MHz and 266MHz are not synthesized by the same synthesizer (PLL/DCM/MCM). You should read the clocking section of the relevant user's guide for more info.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…