| Author |
Message |
spartanthewarrior
Joined: 13 Jun 2007 Posts: 68
|
19 Mar 2008 3:46 FIFO Depth when READ Frequency equal to WRITE Frequency |
|
|
|
Hi All,
Can any body tell me that
What should be the FIFO Depth when READ Frequency == WRITE Frequency
|
|
| Back to top |
|
 |
balan
Joined: 18 Feb 2007 Posts: 38
|
19 Mar 2008 8:30 Re: FIFO Depth when READ Frequency equal to WRITE Frequency |
|
|
|
hi,
the depth should be one, as there is no loss of data if read and write frequency are same.
thank you
|
|
| Back to top |
|
 |
quan228228
Joined: 23 Mar 2006 Posts: 214 Helped: 13
|
19 Mar 2008 9:25 Re: FIFO Depth when READ Frequency equal to WRITE Frequency |
|
|
|
| balan wrote: |
hi,
the depth should be one, as there is no loss of data if read and write frequency are same.
thank you |
although same frequency two clock domain, the depth cant be one, because the fifo should spend some clock cycle determine the fifo is full or empty like asynchronous FIFO.
|
|
| Back to top |
|
 |
arnarendra
Joined: 06 Mar 2007 Posts: 24 Helped: 4
|
19 Mar 2008 10:11 FIFO Depth when READ Frequency equal to WRITE Frequency |
|
|
|
Hi,
To my knowledge it depends on your application, like who is writing into the FIFO and who is reading from it. How much time does it take for reading from it. If there is control over that then depth can be of your choice based on the resources available.
-Naren
|
|
| Back to top |
|
 |
shnain
Joined: 07 Jan 2007 Posts: 38 Helped: 2
|
19 Mar 2008 10:54 Re: FIFO Depth when READ Frequency equal to WRITE Frequency |
|
|
|
Hi All,
The jitter and/or drift b/w the read and write clocks can be an issue resulting in two writes before a read, so it's preferable to set the FIFO depth to at least 2.
Hope it helps!
Said.
|
|
| Back to top |
|
 |