Added: 2 years ago
From: GeorgeandJeri
Views: 2,476
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Very nice!  Thanks!

  • voted up simply for mentioning metastability cos hardly anyone believes me when I describe it to people:

    "that can't happen!!!"

  • very good

  • watching this video help me understand a lot about metastability

  • The AND-gate at the end means you're debouncing only positive edges, not negative. So a momentary 0 will cause a second press to be detected. A consensus sort of gate and flip-flop could avoid preferring 0, something like:

    process (clk)

    begin if rising_edge(clk) then in1<=in0; in2<=in1; if in1=in2 then out<=in1; end if; end if;

    end process;

    Another method might be using asynchronous SR-latches to detect input instability, and only switch if stable.

  • excellent!!!! exactly what I have needed. thanks a lot

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more