Lab 2 of 15 · rank 01
Y must be A AND B. Prefer NAND + NOT if you want the par score.
Learn first
A NAND gate gives 0 only when A and B are both 1; every other time it gives 1. That is exactly the opposite of AND.
So an AND is just a NAND with its answer flipped. You already know how to flip a bit from lab 1: feed the NAND's output into another NAND with both pins tied together.
Two INs (A and B) into a NAND. Its output into a second NAND with both pins tied to that wire (a NOT). The second NAND's output is Y. Try all four combinations: Y should be 1 only for A=1, B=1.
Turn logic into a permanent, verifiable part.
NAND(A,B) into a NOT, or drop the AND macro (same cost).
Par is 2 NAND. Using more still passes here. To etch it as a verified die that mines, keep it within 6 NAND-equivalent (a LATCH counts 2): the verifier refuses bigger designs, so padding can't buy mining weight.
Turn this circuit into a verified die you own. It burns 0 NAND. Get materials at the Foundry.