Guest User

Untitled

a guest
Dec 15th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. always @(posedge clock)
  2. begin
  3.  
  4. if (switch_old != switch)
  5. switch_edge <= 1'b1;
  6. else
  7. switch_edge <= 1'b0;
  8.  
  9. switch_old <= switch;
  10. end
Add Comment
Please, Sign In to add comment