countDecko

Untitled

Apr 24th, 2021
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. module main(x1, x2, y1, y2, y3);
  2. input x1, x2;
  3. output y1, y2, y3;
  4. wire n1;
  5. and
  6. and1(y3, x1, x2),
  7. and2(y2, x1, n1),
  8. and3(y1, x2, n1);
  9. not
  10. not1(n1, y3);
  11. endmodule
Advertisement
Add Comment
Please, Sign In to add comment