Advertisement
joharido

Untitled

Nov 23rd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module yMux1(z, a, b, c_in);
  2. output z;
  3. input a, b, c_in;
  4. wire not_c, x_and1, y_and2;
  5.  
  6. not my_not(not_c, c_in);
  7. and my_and1(x_and1, not_c, a);
  8. and my_and2(y_and2, c_in, b);
  9. or my_or(z, x_and1, y_and2);
  10.  
  11. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement