Advertisement
AbraaoAllysson

Q-genphat

Jun 16th, 2016
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int Q(){
  2.     int Q;
  3.     if (clk==1 && clka == 0){
  4.         if (rst == 1){
  5.             q = 0;
  6.         }
  7.         else if (En == 1){
  8.             q = D;
  9.         }  
  10.     }
  11.     return q;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement