Lab 2 of 10 · rank 01

AND from NAND

Y must be A AND B. Prefer NAND + NOT if you want the par score.

← All labsNext lab →

Learn first

AND says yes only when both inputs are on. NAND is AND followed by NOT — so undo the NOT to get AND back.

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.

Try this

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.

A=1B=1NANDY=0
  1. 1
    Build itPorts named A, B and Y
  2. 2
    Pass the truth table4 rows checked
  3. 3
    Claim the grant+12 NAND
  4. 4
    Etch it (optional)a verified die in your project
Cellsclick one, then click the canvas

Build your die

Turn logic into a permanent, verifiable part.

NAND used0 / par 2
LATCH used0 / par 0
Ainput · pin0Youtput · pin
Pick a cell on the left, click to place it · drag from an output pin to an input pin to wire · click a cell to rename it
Y=0

What it should do

A BY
0 00
0 10
1 00
1 11

Stuck?

NAND(A,B) into a NOT, or drop the AND macro (same cost).

Par is 2 NAND. Using more still passes; fewer is just neater.

Your reward

Grant+12 NAND
Statuspass the lab first

One grant per lab per wallet, materials only — WFR is earned by mining verified dies, never given away. The server re-checks your circuit before signing.

Etch it as a die (optional)

Turn this circuit into a verified die you own. It burns 0 NAND — the grant covers it.

connect a wallet to pick a project