作者wonderwall (拼了)
看板Electronics
标题[问题] 如何计算FIFO的size
时间Wed Aug 15 05:31:38 2007
最近在interview被问到 FIFO的size
题目是:
Q1:It is required to connect a Master, which generates data @ 200 Mega
Samples/sec to a Slave which can receive the data @ 10 Mega Samples/Sec.
If the data lost in 10Micro Sec, what is the optimal size of FIFO
to be used to avoid lose of data?
Q2: Sender sends data at the rate of 80 words / 100 clocks
Receiver can consume at the rate of 8 words / 10 clocks
Calculate the depth of FIFO
不幸的...被问倒了
之後在ASIC-WORLD.com 找到了计算FIFO的说明
http://www.asic-world.com/tidbits/fifo_depth.html
文中提到
FIFO SIZE= B - B * Frd / (Fwr* Idle_cycle _rd )
B 是 "Number of data in a Burst "
Frd 是 reading freq
Fwr 是 writing freq
可是依然不懂所谓的"B" 要如何求得
或是哪为网友有更好的方式可以计算FIFO的size?
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 71.132.207.164