Physics — OR from NAND Gates
Invert both inputs, then NAND them.
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