Electronics Interview Questions: FIFO Buffer Depth Calculation

  Рет қаралды 47,254

ElectroTuts

ElectroTuts

5 жыл бұрын

FIFO depth calculation and basics of clock domain crossing is touched in this tutorial. This video provides a logical way to go through one of the most common hardware interview questions where you are provided with two different clock domain systems and you are required to transfer data between them.
The link for STATIC TIMING ANALYSIS related interview questions:
• Electronics Interview ...
Article on Metastability: electro-tuts.blogspot.com/2018...
Link to my videos on the basics of Static Timing Analysis(STA) of Digital circuits:
Part 1: Combinational circuits:- • Static Timing Analysis...
Part 2: Sequential circuits:- • Static Timing Analysis...
Like, Share and subscribe for more awesome tutorials.
Thank You!

Пікірлер: 62
@arshiaj3751
@arshiaj3751 3 жыл бұрын
finest and clear explanation ever gone through!
@ananthalavanya3143
@ananthalavanya3143 5 жыл бұрын
Simply super . explained in such a way even a beginner with out any knowledge can understand.
@Paul_Lanka
@Paul_Lanka 3 жыл бұрын
your explanation is really simple and sweet
@jaslife87
@jaslife87 4 жыл бұрын
Thanks for the clear explanation!
@knowledgeunlimited
@knowledgeunlimited 3 жыл бұрын
It's cool explanation, loved it!
@rakcea
@rakcea 5 жыл бұрын
the finest explanation :)
@praveenmamidi8726
@praveenmamidi8726 3 жыл бұрын
Simple and Clear👍
@sumukhabharadwajmohanrao853
@sumukhabharadwajmohanrao853 3 жыл бұрын
Much needed! Thanks for the video with great information :-)
@mamathagollavilli9
@mamathagollavilli9 4 жыл бұрын
Explaination is really good... Plz share ur knowledge... With us...
@Deepakkumar-tq1xv
@Deepakkumar-tq1xv 4 жыл бұрын
Your videos are really good for nice and clean concept building. I would love if u can make a video on 3rd method of synchronization that is hand shaking bw 2 clk domains
@jairamgouda
@jairamgouda 4 жыл бұрын
Great video. Please make a video on much complex problems related to FIFO design
@narenkayarmar
@narenkayarmar 3 жыл бұрын
Now i figured it out !!!, Thanks :)
@divyamsatle6673
@divyamsatle6673 2 ай бұрын
All I would say is this man can become brand ambassador of Sprite, siddhi baat no bakwas.
@pavanbhandari1177
@pavanbhandari1177 3 жыл бұрын
very well explained
@sharukhshaik7476
@sharukhshaik7476 4 жыл бұрын
Awesome explanation of fifo depth
@electroTuts
@electroTuts 4 жыл бұрын
Thanks Sharukh!
@ujjawalagrawal5195
@ujjawalagrawal5195 3 жыл бұрын
wonderful explaination e
@hemchandjain2189
@hemchandjain2189 4 жыл бұрын
please explain burst size briefly ,,,,,,,,,,,and thanks!..its really finest time taken video...ever seen.
@prashantjain1180
@prashantjain1180 4 жыл бұрын
Very Clear Explanation................... One doubt is there that single bit is written or read in one clock period, then how you had taken whole in single period?
@nitpl12
@nitpl12 3 жыл бұрын
Thank you 😊
@kunliu5004
@kunliu5004 3 жыл бұрын
Thanks for tutoring. It is really helpful. How long does it fill the FIFO, if the FIFO depth is 20 depth?
@ravindrasuryavanshi6821
@ravindrasuryavanshi6821 4 жыл бұрын
Really mind blowing explanation
@electroTuts
@electroTuts 4 жыл бұрын
Thanks for your support !!
@sairambingi9937
@sairambingi9937 5 жыл бұрын
awesome
@jyh4820
@jyh4820 2 жыл бұрын
Thank you
@muhammadatif5480
@muhammadatif5480 5 жыл бұрын
nice one
@yprashant66py
@yprashant66py 4 жыл бұрын
Bahut bhadiyan
@veeryanbhatia538
@veeryanbhatia538 Жыл бұрын
helpful!
@sultanmurad2309
@sultanmurad2309 4 жыл бұрын
Outstanding sir
@electroTuts
@electroTuts 4 жыл бұрын
Thank you !!
@ranjanparnami
@ranjanparnami 3 жыл бұрын
FIFO size = (fram size / TX freq) × (Tx freq - Rx freq) = (100/200MHz)× (180MHz) = 90
@hariharakumar891
@hariharakumar891 2 жыл бұрын
Someone explain what the synchronizer circuit be in the first case where fa
@vinayakkumthekar7752
@vinayakkumthekar7752 5 жыл бұрын
make such more videos
@sunilkumarkp4508
@sunilkumarkp4508 4 жыл бұрын
Super
@maheswarreddy4394
@maheswarreddy4394 3 жыл бұрын
Can you explain the same example with 3 idle cycles while reading and 1 idle cycle while writing
@anupalike1226
@anupalike1226 Жыл бұрын
Hi can you please upload video for clock gating checks , it will helpful for us
@merrygo7189
@merrygo7189 3 жыл бұрын
Nice video sir
@electroTuts
@electroTuts 3 жыл бұрын
Thanks for your appreciation !! :)
@anilkadiyala
@anilkadiyala 4 жыл бұрын
Is fifo required even in the case of fa < fb ? . I see some fifo depth caluclations on the net in this case. can someone explain ?
@yasirpunathil7143
@yasirpunathil7143 3 жыл бұрын
No, we just need a synchroniser, since receiver unit is faster than transmitter, there won't be any data "lost in translation" if we synchronise properly
@juntran_workbackupleppy7024
@juntran_workbackupleppy7024 3 жыл бұрын
Explaned nicely ..... but what exactly mean you want to describe for idle cycles? that can you elaborate here?
@saiprasadszhayi
@saiprasadszhayi 3 жыл бұрын
It basically means that you have an idle cycle that does nothing after a consecutive write or read. In that case, you would have to multiply the calculated time period by the number of idle cycles mentioned. Say for example, if you insert 2 idle cycles after every read (Trd =3* (1/read clock f)).
@alokmishra9522
@alokmishra9522 2 жыл бұрын
.
@lizajoseph6368
@lizajoseph6368 4 жыл бұрын
For the scenario 1 FA < FB, if FA = 60 MHz and FB = 100MHz how we will send data without FIFO? For the scenario 2 FA = FB and clocks are not in Phase how can we send data without FIFO?
@ahmadalastal5303
@ahmadalastal5303 3 жыл бұрын
in scenario A, let us say that you are writing data to RAM, in this case your writing slower than reading, in other words read all data in RAM and wait for another data to be written in RAM, this doesn't need a FIFO, in scenario B if they are not in-phase either you lock their phases or synchronize both using flip flops or of course you can use FIFO, it is up to you (the designer) to decide based on the system that he/she is building
@alokmishra9522
@alokmishra9522 2 жыл бұрын
.
@Paul_Lanka
@Paul_Lanka 3 жыл бұрын
if fa>fb for single bit data crossing, what synchronizer is preferred...
@electroTuts
@electroTuts 3 жыл бұрын
That will depend on the design, use-case, etc. The video gives an overview into the problems and how to mitigate it!
@Paul_Lanka
@Paul_Lanka 3 жыл бұрын
@@electroTuts ok Sure and Thanks for the replay. Also could you please kindly do more video's on CDC.
@lokendrasinghlodhi718
@lokendrasinghlodhi718 9 ай бұрын
Thank You bro! I faced one question in Nvidia Placement test : FIFO depth if writing rate 45 beats/50 clock and read rate 12beats/20 clock?? when Burst size is not mentioned than how we will be able to find FIFO Depth?
@vivekkandhagatla3096
@vivekkandhagatla3096 9 ай бұрын
You need to take the effective beats/clock for beats calc and Fifo depth = (effective beats/clock for write - effective beats/clock for read )* Burst size -> Burst size assume a number and round off the fifo depth to the nearest integer.
@ayushagarwal69
@ayushagarwal69 8 ай бұрын
which college did this exam happen in ?
@ayushagarwal69
@ayushagarwal69 8 ай бұрын
@@vivekkandhagatla3096 0.9-0.6 = 0.3 beats per clock loss , but I dont know the burst rate , so 3 should have been answer in that exam maybe ?
@amedirat
@amedirat 2 жыл бұрын
The author did not account for the worst case scenario when there is back to back burst as in 100 + 100 The depth should be 90*2 = 180
@pavanhegde1933
@pavanhegde1933 5 жыл бұрын
Can we calculate depth of FIFO if we don't know burst size? I mean I want read to continuous. I didn't got u r infinite depth FIFO so clearly please clarify me
@danieljimenez1989
@danieljimenez1989 5 жыл бұрын
If data is continously being fed to the fifo from a faster clock to a slower clock, then no fifo will ever have enough depth. Every cycle of the read, you get more than one cicle on the write, so as time goes on the fifo gets more and more filled up. At some point, if the writing side never stop, it will get completely filled up, unless the fifo had infinite depth.
@alokmishra9522
@alokmishra9522 2 жыл бұрын
.
@sultanmurad2309
@sultanmurad2309 4 жыл бұрын
Q1) draw a neat diagram of astable multivibrator using op amp explain it's work and hence derive an expression for its pulse How this pulse????Sir solve this problem Plzzz
@electroTuts
@electroTuts 4 жыл бұрын
Will consider this when deciding a topic for future videos!
@sultanmurad2309
@sultanmurad2309 4 жыл бұрын
Sir I am started now 1 November coming on
@mjitglv5876
@mjitglv5876 3 жыл бұрын
Thanks for the clear explanation!
@electroTuts
@electroTuts 3 жыл бұрын
Glad it was helpful! :)
Metastability - Part 1: Introduction, Causes and Effects
6:32
ElectroTuts
Рет қаралды 44 М.
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 44 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 151 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
Electronics Interview Questions: STA part 1
11:30
ElectroTuts
Рет қаралды 104 М.
Electronics Interview Questions: FIFO Buffer Depth Calculation - Part2
9:10
Crossing Clock Domains in an FPGA
16:38
nandland
Рет қаралды 66 М.
Electronics Interview Questions: STA part 2
8:11
ElectroTuts
Рет қаралды 34 М.
HWN - Real "SoC Design Engineer - Digital" Interview Questions
10:08
Hardware Ninja
Рет қаралды 23 М.
Example Interview Questions for a job in FPGA, VHDL, Verilog
20:34
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 44 МЛН