[Tiny Tapeout Puzzles](https://tinytapeout.com/digital_design/logic_gates/)

Still feeling uncertain about digital logic gates and how they function? 
You can use the same Wokwi interface to explore different gates at your own pace.  
One exercise we like is to draw out the truth table for each gate that you’re unfamiliar with. 

Here's one we built to help figure out the NAND gate. By toggling inputs 1 and 2 - you can find out what combination you need to turn the red LED on.

| input 1 | input 2 | output |
|---------|---------|--------|
| 0       | 0       | 1      |
| 0       | 1       | 1      |
| 1       | 0       | 1      |
| 1       | 1       | 0      |
sw1:1a
sw1:2a
sw1:3a
sw1:4a
sw1:5a
sw1:6a
sw1:7a
sw1:8a
sw1:8b
sw1:7b
sw1:6b
sw1:5b
sw1:4b
sw1:3b
sw1:2b
sw1:1b
pwr1:VCC
chip1:EXTCLK
chip1:EXTRST_N
chip1:EXTIN0
chip1:EXTIN1
chip1:EXTIN2
chip1:EXTIN3
chip1:EXTIN4
chip1:EXTIN5
chip1:EXTIN6
chip1:EXTIN7
chip1:CLK
chip1:RST_N
chip1:IN0
chip1:IN1
chip1:IN2
chip1:IN3
chip1:IN4
chip1:IN5
chip1:IN6
chip1:IN7
Loading
tt-block-output
pwr5:GND
led1:A
led1:C
xor1:A
xor1:B
xor1:OUT
and1:A
and1:B
and1:OUT
xor2:A
xor2:B
xor2:OUT
and2:A
and2:B
and2:OUT
or1:A
or1:B
or1:OUT
xor3:A
xor3:B
xor3:OUT
xor4:A
xor4:B
xor4:OUT
and3:A
and3:B
and3:OUT
and4:A
and4:B
and4:OUT
or2:A
or2:B
or2:OUT
led2:A
led2:C
nand1:A
nand1:B
nand1:OUT
nand2:A
nand2:B
nand2:OUT
nand3:A
nand3:B
nand3:OUT
nand4:A
nand4:B
nand4:OUT
nand5:A
nand5:B
nand5:OUT
nand6:A
nand6:B
nand6:OUT
nand7:A
nand7:B
nand7:OUT
nand8:A
nand8:B
nand8:OUT
nand9:A
nand9:B
nand9:OUT
led3:A
led3:C
nand10:A
nand10:B
nand10:OUT
nand11:A
nand11:B
nand11:OUT
nand12:A
nand12:B
nand12:OUT
nand13:A
nand13:B
nand13:OUT
nand14:A
nand14:B
nand14:OUT
nand15:A
nand15:B
nand15:OUT
nand16:A
nand16:B
nand16:OUT
nand17:A
nand17:B
nand17:OUT
nand18:A
nand18:B
nand18:OUT
nand19:A
nand19:B
nand19:OUT
nand20:A
nand20:B
nand20:OUT
nand21:A
nand21:B
nand21:OUT
nand22:A
nand22:B
nand22:OUT
nand23:A
nand23:B
nand23:OUT
nand24:A
nand24:B
nand24:OUT
nand25:A
nand25:B
nand25:OUT
nand26:A
nand26:B
nand26:OUT
nand27:A
nand27:B
nand27:OUT
nand28:A
nand28:B
nand28:OUT
nand29:A
nand29:B
nand29:OUT
nand30:A
nand30:B
nand30:OUT
nand31:A
nand31:B
nand31:OUT
nand32:A
nand32:B
nand32:OUT
nand33:A
nand33:B
nand33:OUT
nand34:A
nand34:B
nand34:OUT
nand35:A
nand35:B
nand35:OUT
nand36:A
nand36:B
nand36:OUT
nand37:A
nand37:B
nand37:OUT
nand38:A
nand38:B
nand38:OUT
nand39:A
nand39:B
nand39:OUT
nand40:A
nand40:B
nand40:OUT
nand41:A
nand41:B
nand41:OUT
nand42:A
nand42:B
nand42:OUT
nand43:A
nand43:B
nand43:OUT
nand44:A
nand44:B
nand44:OUT
nand45:A
nand45:B
nand45:OUT
led4:A
led4:C
led5:A
led5:C