Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Outputs 1 if either or both inputs are 1
- Author: Curtis Michels
- */
- CHIP Or {
- IN a, b;
- OUT out; // 1 if they are the same
- PARTS:
- Nand(a=a, b=a, out = na);
- Nand(a=b, b=b, out = nb);
- Nand(a=na, b=nb, out = out);
- }
Add Comment
Please, Sign In to add comment