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.

Clock domain crossing problem

Status
Not open for further replies.

adivy

Newbie level 6
Joined
Nov 21, 2011
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,403
Hi,
I am using a gated clock A domain(outside the FPGA) to send data to a clock B domain in FPGA where clock A is slower than clock B.
Here to synchronize the data transmission I have used an asynchronous FIFO .
FIFO write clock is CLKA(generated inside the FPGA and equal to 3*clock A) as FIFO requires continuous clock.
Still the data is not written correctly i.e sometimes fifo writes extra data.
Can anyone help me out on the same?
 

why not just use clock A?
THe problem is probably a code bug. Have you written a testbench?
 

I read in FIFO datasheet that it needs a continuous clock.So gated clock can't be given directly as input.
Yes I have written test bench and it is in TB I am getting this problem.
 

I think your write clock HAS to be synchronous with your input data, that's not what you've done by using your internal clock.

You should look into either:

1) a FIFO that doesn't need a continuous write clock
2) generating a continuous clock on the write side
3) using a different synchronizer
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top