Two flop synchronizers (synchronization) or Flip Flop Synchronizers / FIFO-part4

  Рет қаралды 28,050

Karthik Vippala

Karthik Vippala

4 жыл бұрын

Two flop synchronizers to avoid metastability is explained , If you have any doubts please comment down , I am gonna answer within 24 hrs , please do subscribe, thanks for watching.

Пікірлер: 56
@sohamlakhote9822
@sohamlakhote9822 4 жыл бұрын
Great job bro!!! I understood many things by watching your 3 min video as compared to other videos which are 15-17 min long. Keep it up!!
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Thank you brother 🙏👊
@jayaramank3236
@jayaramank3236 Жыл бұрын
good explanation thanks
@abhinavsonkar2936
@abhinavsonkar2936 4 жыл бұрын
Excellent explanation. Please keep uploading such videos.
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Hi abhinav , thanks for your support , please suggest topics you need , it will be helpful in preparing more such content, please do reply.
@abhinavsonkar2936
@abhinavsonkar2936 4 жыл бұрын
@@KarthikVippala If possible then please make videos on computer architecture from scratch.
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Thanks for suggesting , give me sometime I will do it for you , please do comment if you have doubts👍
@nida4404
@nida4404 3 жыл бұрын
If we have 2 clock domain synchronous then what value we take in d flipflop
@AhmedMohamed-km6jg
@AhmedMohamed-km6jg 3 жыл бұрын
nice work , hard topic in short time
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Namaskaram 🙏 Ahmed, thanks for support , good luck, great health 👍😊
@bharadwaj767
@bharadwaj767 3 ай бұрын
even it is not guaranteed that we would get logic HIGH (2:07) after that clock period... it might go to 0 as well right please let me know if you have any insights on this
@rakeshpookkotte1867
@rakeshpookkotte1867 2 жыл бұрын
Hello , can you suggest me a method where I can increase my clock frequency from 70MHz to 100MHz
@karanrawat9674
@karanrawat9674 2 жыл бұрын
@Karthik Vippala I dont understand from where rd and write pointer comes in this,if destination clock captures same data 2times as its on high speed how captured data is correct.. So let's say source side if data is 1010 destination will capture 11001100? Please clear my doubt
@danielarthur7739
@danielarthur7739 3 ай бұрын
I have a question, Im using clock gating in my design. My question is: the clock gating should affect the dual flop synchronizer or the synchronizer must have the free clock always?
@syamsundarmalla
@syamsundarmalla 3 жыл бұрын
Sir,if we want pass data from slow speed clock high then is this 2 flop synchronizer is useful or not
@PremKumar-jq3wg
@PremKumar-jq3wg 2 жыл бұрын
why two flop synchronizers, why not 3-4 flop synchronizers, if you say it depends upon MTBF and frequency, then there is a certain limitation that flop should add that frequency exceeds certain limitations
@neeleshranjan7827
@neeleshranjan7827 6 ай бұрын
sir, what happens when the value after metastability settles to 0 in this case, then my output would be wrong. How to eliminate this problem?
@saurabhkatre7355
@saurabhkatre7355 4 жыл бұрын
Excellent. I have one doubt. Is the output QB1 after metastability period will always settle to logic 1 (so as to follow input)? Or can it also go to logic 0.
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Saurabh , thanks for asking the question. Synchronizers do not ensure that data get across , but they ensure that signal don't end up in Metastability. So output is unpredictable. For understanding purpose I have shown it like that in the diagrams. Hope this clarifies your doubt. Please do subscribe it will help me a lot to keep going , thanks for asking.
@sagarborad5746
@sagarborad5746 2 жыл бұрын
@@KarthikVippala Karthik, More stress should be put on this line "Synchronizers do not ensure that data get across" if correct data doesn't get across then how good synchronizer is ?
@KarthikVippala
@KarthikVippala 2 жыл бұрын
@@sagarborad5746 sure sagar will make short video so that people won't have this confusion. good luck & great health:)
@riffattahira4839
@riffattahira4839 4 жыл бұрын
well explained
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Thank you for your feedback and support 🙏
@nareshthakur6087
@nareshthakur6087 4 жыл бұрын
Hi In this example QA is changing from 0->1 and QB1 is settling to 1 so we are getting correct output at QB2. Suppose QB1 is settled to 0 (as it can go to either 0 or 1 from metastable state) then QB2 will get wrong output. Am I correct? can you please explain on this
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Hi Naresh , thanks for asking Yes you are absolutely correct , QB1 can go to zero , QB2 will be wrong . We cannot remove metastability , but we can reduce it, we can use handshake to check whether the output is correct or not , if it's correct we will not change otherwise we will discard it and resend the input. This will be slow but we need to add it for meeting design output. Hope this clears your doubt ,if you have any questions, feel free to comment. I am happy to help you 👍. Please do subscribe it will help me a lot 👍
@prashantmata7709
@prashantmata7709 3 жыл бұрын
@@KarthikVippala Follow up question, So during metastability if the output resolves to a different state, then this synchronizer also fails? Am i correct?
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Yes prashant , you're correct Good luck, good health👍
@vikasbansal4180
@vikasbansal4180 Жыл бұрын
@@KarthikVippala thanks for very good explaination of all concepts, i have 2 questions. 1. As synchronizer ensures no metastablity in o/p, it not ensure correct data sended, so "synchronize fail" may not be correct term?? right or wrong 2. How to check correct data got at o/p using handshake, i had seen that handshake video but answer was not there, can u please tell??
@hgl9590
@hgl9590 Жыл бұрын
@@KarthikVippala thanks for the nice explanation. Do you have materials about such handshake mechanism?
@AjayMukeshMehtaMVD
@AjayMukeshMehtaMVD 4 жыл бұрын
I've one doubt, like QB can QC also go to metastable state here? As QB act as input to FF(C) and QB is in metastable state at posedge of clock so FF(C) output also go to metastable state.
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Hey Ajay , thanks for asking the question , now coming to explaination , there is a chance that QC can go to Metastability if output of QB is still in metastable condition even after one clock period, if output of QB settles to 0 or 1 then there will be no metastability . Hope this clears your doubt,if you have any doubts please feel free to comment. Please do subscribe it will be helpful for me 👍
@1000manmath
@1000manmath 3 жыл бұрын
@@KarthikVippala In such cases, will it be advised to use more than two FlipFlops?
@KarthikVippala
@KarthikVippala 3 жыл бұрын
@@1000manmath you are correct we need to use two flip flops for synchronization
@08bharadwaj
@08bharadwaj 3 жыл бұрын
Hello, considering the difference in frequency bw wr and rd is huge. Is there any issue if pointer values get missed after synchronization.
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Hey Bhardwaj thanks for asking the question, no there will be no issues due to synchronization of rd and wrptrs, there will be delay in the red or wr to happen but values will be correct. Good luck, good health 👍
@karanrawat9674
@karanrawat9674 2 жыл бұрын
@@KarthikVippala I dont understand from where rd and write pointer comes in this,if destination clock captures same data 2times as its on high speed how captured data is correct.. So let's say source side if data is 1010 destination will capture 11001100? Please clear my doubt
@bhoomikasbidari3936
@bhoomikasbidari3936 Жыл бұрын
Sir , Please explain about how many synchronisers to use based on situation. Like you have explained about 2 stage , please explain multistage synchronisers.
@KarthikVippala
@KarthikVippala Жыл бұрын
Hi, mostly 2 stage is enough, but if it's failing we will tripple flop , and this is the max we go in the design. Thanks for asking 🙏
@bhoomikasbidari3936
@bhoomikasbidari3936 Жыл бұрын
@@KarthikVippala Thankyou so much sir. Excellent explanation ☺️
@PranavSingh-ur9ic
@PranavSingh-ur9ic Жыл бұрын
how do we know that data will get stable in one clock cycle (i mean before next clock edge)??
@bharadwaj767
@bharadwaj767 3 ай бұрын
and even it is not guaranteed that we would get logic HIGH (2:07) after that clock period... it might go to 0 as well right please let me know if you have any insights on this
@nephewniece3312
@nephewniece3312 4 жыл бұрын
Hi, I've one doubt, is it true path or false path between B - C??
@KarthikVippala
@KarthikVippala 4 жыл бұрын
It is true path ,and will be considered 👍
@nisargadk3672
@nisargadk3672 2 жыл бұрын
can u please make a video on design of synchronisers using verilog coding?
@KarthikVippala
@KarthikVippala 2 жыл бұрын
Namaskaram nisarga🙏 , thanks for asking , I will make video but it will take time, good luck & great health 👍😊
@GG90526
@GG90526 3 жыл бұрын
what is the use of 3 flop synchronizer and where we are using it? thank you in advance.
@KarthikVippala
@KarthikVippala 3 жыл бұрын
It is used CDC , if two flop fails to give the results . Thanks for asking, good luck, good health 👍
@GG90526
@GG90526 3 жыл бұрын
How to ensure that 2 flop synchronizer is not sufficient?
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Trial and error is the best option .
@GG90526
@GG90526 3 жыл бұрын
@@KarthikVippala thank you for your quick response.. hope u doing well.😀😀
@KarthikVippala
@KarthikVippala 3 жыл бұрын
@@GG90526 your welcome 👍
@uday5786
@uday5786 4 жыл бұрын
Can u do video on toggle synchronizer
@KarthikVippala
@KarthikVippala 4 жыл бұрын
I will do it , but need some time ,👍
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Hey uday , check the channel for the video 👍
@riffattahira4839
@riffattahira4839 4 жыл бұрын
well explained
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Thank you
Setup time and hold time | Metastability  condition | Explained.
3:08
Karthik Vippala
Рет қаралды 12 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 141 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Crossing Clock Domains in an FPGA
16:38
nandland
Рет қаралды 66 М.
D flip-flop
16:01
Ben Eater
Рет қаралды 644 М.
60 - Metastability and Synchronizers
11:15
Anas Salah Eddin
Рет қаралды 7 М.
13.13. Synchronizers & synchronization
13:22
Electron Tube
Рет қаралды 1,6 М.
Metastability - Part 2:  Resolution Time, Synchronizers and MTBF
7:58
What is Clock Skew ? The Positive and Negative Clock Skew Explained
16:08
ALL ABOUT ELECTRONICS
Рет қаралды 3 М.