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

  Рет қаралды 31,750

Karthik Vippala

Karthik Vippala

Күн бұрын

Пікірлер: 62
@bharadwaj767
@bharadwaj767 9 ай бұрын
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
@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👍
@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 🙏👊
@77uu22
@77uu22 Ай бұрын
Hi, One question on 2 flop synchronizer, the settling of metastability causes latency issue at the recever side, as for a signal changing from 0->1 at flop1 might settle to 1 or 0 before getting sampled by flop2, but will settle to value 1 in next clock So if it is settle in first clock the latency is 2 else the latency will be 3 How to update design to make this latency a fix value Considering both clock same frequency with phase difference
@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 4 жыл бұрын
@@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 4 жыл бұрын
Yes prashant , you're correct Good luck, good health👍
@vikasbansal4180
@vikasbansal4180 2 жыл бұрын
@@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?
@NDUnq-p6n
@NDUnq-p6n 2 ай бұрын
Well explained. But what if after the first flops, the metastability signal GOES DOWN, and 2nd flip flops can capture its high value, meaning after signal go through two flip flops, it's stable but we can sure it's 1 or 0.
@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:)
@AhmedMohamed-km6jg
@AhmedMohamed-km6jg 3 жыл бұрын
nice work , hard topic in short time
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Namaskaram 🙏 Ahmed, thanks for support , good luck, great health 👍😊
@danielarthur7739
@danielarthur7739 9 ай бұрын
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?
@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 4 жыл бұрын
@@KarthikVippala In such cases, will it be advised to use more than two FlipFlops?
@KarthikVippala
@KarthikVippala 4 жыл бұрын
@@1000manmath you are correct we need to use two flip flops for synchronization
@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
@tomcat1184
@tomcat1184 5 ай бұрын
thank you for your wonderful explanation
@KarthikVippala
@KarthikVippala 5 ай бұрын
Glad it was helpful!
@nida4404
@nida4404 3 жыл бұрын
If we have 2 clock domain synchronous then what value we take in d flipflop
@rakeshpookkotte1867
@rakeshpookkotte1867 3 жыл бұрын
Hello , can you suggest me a method where I can increase my clock frequency from 70MHz to 100MHz
@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 9 ай бұрын
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
@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 ☺️
@neeleshranjan7827
@neeleshranjan7827 11 ай бұрын
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?
@syamsundarmalla
@syamsundarmalla 3 жыл бұрын
Sir,if we want pass data from slow speed clock high then is this 2 flop synchronizer is useful or not
@08bharadwaj
@08bharadwaj 4 жыл бұрын
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 4 жыл бұрын
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
@GG90526
@GG90526 4 жыл бұрын
what is the use of 3 flop synchronizer and where we are using it? thank you in advance.
@KarthikVippala
@KarthikVippala 4 жыл бұрын
It is used CDC , if two flop fails to give the results . Thanks for asking, good luck, good health 👍
@GG90526
@GG90526 4 жыл бұрын
How to ensure that 2 flop synchronizer is not sufficient?
@KarthikVippala
@KarthikVippala 4 жыл бұрын
Trial and error is the best option .
@GG90526
@GG90526 4 жыл бұрын
@@KarthikVippala thank you for your quick response.. hope u doing well.😀😀
@KarthikVippala
@KarthikVippala 4 жыл бұрын
@@GG90526 your welcome 👍
@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 👍
@riffattahira4839
@riffattahira4839 5 жыл бұрын
well explained
@KarthikVippala
@KarthikVippala 5 жыл бұрын
Thank you
@nisargadk3672
@nisargadk3672 3 жыл бұрын
can u please make a video on design of synchronisers using verilog coding?
@KarthikVippala
@KarthikVippala 3 жыл бұрын
Namaskaram nisarga🙏 , thanks for asking , I will make video but it will take time, good luck & great health 👍😊
@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
@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 👍
@adityagautam7276
@adityagautam7276 4 ай бұрын
Why the accent
@KarthikVippala
@KarthikVippala 4 ай бұрын
Just so that no one finds it's me😁
@riffattahira4839
@riffattahira4839 5 жыл бұрын
well explained
@KarthikVippala
@KarthikVippala 5 жыл бұрын
Thank you for your feedback and support 🙏
Setup time and hold time | Metastability  condition | Explained.
3:08
Karthik Vippala
Рет қаралды 13 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 118 МЛН
60 - Metastability and Synchronizers
11:15
Anas Salah Eddin
Рет қаралды 8 М.
what is time borrowing (latch)  ? why does latches support it?
8:19
Karthik Vippala
Рет қаралды 21 М.
Latches and Flip-Flops 6 - The JK Flip Flop
13:49
Computer Science Lessons
Рет қаралды 41 М.
Crossing Clock Domains in an FPGA
16:38
nandland
Рет қаралды 69 М.
13.13. Synchronizers & synchronization
13:22
Electron Tube
Рет қаралды 1,9 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН