Skip to content
Digital logic (gates / K-map / truth table) templates

Physics — OR from NAND Gates

Invert both inputs, then NAND them.

Template previewDigital logic (gates / K-map / truth table)
OR from NAND gatesABNANBGYEvaluated: 2 inputs, 1 output, 4 rows — Y = ¬(¬(A · A) · ¬(B · B)).`A` to `NA` is drawn twice, which reads as both inputs of `NA` tied to `A` — the usual way to make an inverter out of a NAND. …`B` to `NB` is drawn twice, which reads as both inputs of `NB` tied to `B` — the usual way to make an inverter out of a NAND. …Y = ¬(¬(A · A) · ¬(B · B))

Make it your own.

title "OR from NAND gates"
type gates
input A at (0,0)
input B at (0,4)
gate NAND NA at (3,0)
gate NAND NB at (3,4)
gate NAND G at (7,2)
output Y at (10,2)
wire A NA
wire A NA
wire B NB
wire B NB
wire NA G
wire NB G
wire G Y