[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
chip2:OUT0
chip2:OUT1
chip2:OUT2
chip2:OUT3
chip2:OUT4
chip2:OUT5
chip2:OUT6
chip2:OUT7
chip2:EXTOUT0
chip2:EXTOUT1
chip2:EXTOUT2
chip2:EXTOUT3
chip2:EXTOUT4
chip2:EXTOUT5
chip2:EXTOUT6
chip2:EXTOUT7
gate2:A
gate2:B
gate2:OUT
gate4:A
gate4:B
gate4:OUT
gate5:IN
gate5:OUT
gate6:IN
gate6:OUT
mux1:A
mux1:B
mux1:SEL
mux1:OUT
flipflop1:D
flipflop1:CLK
flipflop1:Q
flipflop1:NOTQ
pwr4:VCC
pwr5:GND
led1:A
led1:C
Here's an example of how to draw the truth table for a NAND gate.
led2:A
led2:C
led3:A
led3:C
pwr2:GND
gate1:A
gate1:B
gate1:OUT