You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-demo/hdl-demo/Or.hdl.rkt

14 lines
272 B
Racket

8 years ago
#lang hdl-demo
9 years ago
CHIP Or {
IN a, b;
OUT out;
PARTS:
Not(in=a, out=nota);
Not(in=b, out=notb);
And(a=nota, b=notb, out=andout);
Not(in=andout, out=out);
}