Pulse Synchronizer CDC | Toggle Flop synchronization| Fast to Slow Clock| VLSI Interview Question

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น •

  • @Electronicspedia
    @Electronicspedia  2 ปีที่แล้ว +1

    Please Like, Share and Subscribe to my channel th-cam.com/channels/3mTACG8vPWsHQFMfxzeDZg.html

  • @iswarya01
    @iswarya01 ปีที่แล้ว +2

    Very well explained ! Thank you for the video.

  • @kiranraddimorab3963
    @kiranraddimorab3963 2 ปีที่แล้ว +2

    Nicely explained, keep posting concepts related CDC techniques

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว

      Glad you liked. Thanks
      I will post more videos on other concepts as well. Keep watching, happy learning.

  • @saipavanraj961
    @saipavanraj961 2 หลายเดือนก่อน

    GOOD EXPLANATION SIR WE NEED MORE VIDEOS ON CDC AND ALSO COME UP WITH LINT

  • @roni5884
    @roni5884 2 ปีที่แล้ว +2

    Nicely done Ravi ...carry on

  • @ArielZhou_1515
    @ArielZhou_1515 หลายเดือนก่อน

    The video is great. However, I still have some doubts at 16:36. Given that there is one input and the output Tq is supposed to toggle, I'm confused as to why the toggling of Tq lags one clock cycle behind the signal A.

    • @av_410
      @av_410 18 วันที่ผ่านมา

      at second rising clock edge , i think the pulse has died, so the output toggles to negation of dead pulse, IE negation of 0 IE High.
      Every rising clock edge thereafter we are seeing no new pulse , so output toggles to high and the high is maintained. Did this answer your question ?

  • @smitpatel7700
    @smitpatel7700 ปีที่แล้ว

    very nice explanation thank you keep it up

  • @abdullahjhatial2614
    @abdullahjhatial2614 8 หลายเดือนก่อน +1

    what is difference between two flip flop and std double synchronizer ? they look similar in ciruit

  • @chiraag3972
    @chiraag3972 ปีที่แล้ว +1

    Nice video - but there might be some inaccuracies at 15:38:
    While drawing the timing graphs, you are assuming the frequency of clkB matches clkA which is incorrect. doubleq and output of the last flop do not follow clkA frequency -> the pulse at the output of XOR should be as wide as the (timeperiod/2) of clkB.
    Is that correct?

    • @Electronicspedia
      @Electronicspedia  ปีที่แล้ว

      There is no assumption of clkb freq same as clka. They can be completely asynchronous. Here just got drawing diagram i have considered the clocks same. But the logic still holds good.

  • @karanamgururaj6357
    @karanamgururaj6357 ปีที่แล้ว +1

    I couldn't find the edge detection technique video in your playlist sir could you please share the link if that video

  • @vineethvala3789
    @vineethvala3789 2 ปีที่แล้ว +1

    Excellent explanation, can you post more videos on CDC as soon as possible

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว

      Hey thanks for feedback. I have covered basic CDC topics already, please take a look. Will cover more CDC and Reset Domain Crossing (RDC) soon.

    • @cyrillemagdi7717
      @cyrillemagdi7717 2 ปีที่แล้ว

      @@Electronicspedia Waiting 🙏

  • @vinaykumarrhadimani9150
    @vinaykumarrhadimani9150 2 ปีที่แล้ว +1

    in the video at fast to slow concept in timing diagram the output of tff is initially zero and when the pulse arrives the output of tff qt should change at the same clock edge as the pulse arrives is that correct?

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว +1

      Hi Vinay, all the flip flops considered will sampling the signals on the active edge of clocks and these will be sequential elements hence the data will appear on the output in the next clock cycle.
      But however for waveform representation some people choose to draw it on the same clock.

    • @vinaykumarrhadimani9150
      @vinaykumarrhadimani9150 2 ปีที่แล้ว

      @@Electronicspediathankyou so much....

  • @86sheth
    @86sheth 2 ปีที่แล้ว +2

    could you also describe handshaking based circuit for fast to slow

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว +1

      Hi, I have explained in this video
      th-cam.com/video/qDnWYp1nG9I/w-d-xo.html
      This is handshake based synchronisation technique

  • @pavanambala9594
    @pavanambala9594 2 ปีที่แล้ว +1

    good one sir

  • @sourabhjain3346
    @sourabhjain3346 2 ปีที่แล้ว +1

    Thank you, You are doing a great work

  • @oamkarrama
    @oamkarrama 2 ปีที่แล้ว +1

    Thanks for the explanation

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว

      Thanks for the support. Keep watching Happy learning 👍

  • @ytaccount9420
    @ytaccount9420 10 หลายเดือนก่อน

    For fast to slow, using toggle sync solution, how do we calculate the min cycles to be allowed before we can safely detect next pulse?
    Is it 4 (toggle ff- 1, double sync -2, d ff -1)?
    But toggle ff is triggered by clkA, so kinda confused
    How to calculate safe frequency of pulse

  • @junedrahi1877
    @junedrahi1877 2 ปีที่แล้ว +1

    Thanks, it was explained very nicely. I had a few doubts about this.
    what if we use a D FF at the source side, and the clk relationship of source and destination is not known as it can change in the later stage of the design. Considering the above constraints
    1. for how many clock cycles should the signal be stretched so that it can be sampled at destination clock?
    2. Will this technique work or we should go with a handshake-based mechanism?

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว +1

      If clock relationship is unknown then it's makes sense to go with handshake based mechanism.

  • @anilkumarkurra1314
    @anilkumarkurra1314 2 ปีที่แล้ว +1

    Hai sir
    In slow to fast domain after using the dff(after 3rdff) we will generating pulse,but the generated pulse Frequency not same as the pulse frequency of domain A.
    This is correct??

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว

      Yes you are correct. That is why we call it as clock domain crossing.
      Crossing of signal/pulse from clock domain A to domain B.

    • @anilkumarkurra1314
      @anilkumarkurra1314 2 ปีที่แล้ว +1

      Thanks for your reply.but in the domain B instead of AND gate (like edge detection) we used XOR.Why can't we use AND gate to generate the pulse instead of xor gate or else shall We use the AND gate?

    • @Electronicspedia
      @Electronicspedia  2 ปีที่แล้ว

      XOR gate will generate a pulse in domain B, every time there is a pulse in domain A. Here the thing to be noted is on clock domain A, we are using T flip flop to generate the level signal. That's why we need XOR gate, if you use AND gate based edge detection technique we can detect only either posedge or negedge not both together. But with XOR gate we can detect posedge and negedge both.

    • @anilkumarkurra1314
      @anilkumarkurra1314 2 ปีที่แล้ว

      @@Electronicspedia okk
      Thank you so much for your well explanation.

  • @s.ramtechnical01
    @s.ramtechnical01 ปีที่แล้ว

    sir could you please explain the issue of convergence,divergence and re-convergence with their solutions

  • @Shahidsoc
    @Shahidsoc 8 หลายเดือนก่อน +1

    light is in ur back, so shade come on board

  • @ItamarEliyahu-v9g
    @ItamarEliyahu-v9g ปีที่แล้ว

    Your Tq is wrong since TFF will also toggle the zero level after the PA pulse to '1' - check it

    • @billiondollarX
      @billiondollarX 11 หลายเดือนก่อน

      No its correct, it will detect zero and thats why it will retain past value Qn which is 1 , so tq remains 1. (T flop toggles only if input is 1, if 0 it will retain Qn.

  • @omegasensors
    @omegasensors 2 ปีที่แล้ว

    Sir can u plz share your contact no. Or mail id so that I can send my requirements based on missing pulse detection