diff --git a/Xor.hdl b/Xor.hdl deleted file mode 100644 index 7708d5a..0000000 --- a/Xor.hdl +++ /dev/null @@ -1,20 +0,0 @@ -// This file is part of www.nand2tetris.org -// and the book "The Elements of Computing Systems" -// by Nisan and Schocken, MIT Press. -// File name: projects/01/Xor.hdl - -/** - * Exclusive-or gate: - * out = not (a == b) - */ - -CHIP Xor { - IN a, b; - OUT out; - - PARTS: - // Put your code here: - Or(a=a, b=b, out=w1); - Nand(a=a, b=b, out=w2); - And(a=w1, b=w2, out=out); -}