yes - when you use nand gates, you've got to build on that, so you need to build XOR, OR, MUX, and DMUX
the registers, then the arithmetic logic unit, control unit, memory. The whole ball of wax
and the HDL code:
the registers, then the arithmetic logic unit, control unit, memory. The whole ball of wax
and the HDL code:
CHIP Xor { IN a, b; OUT out; PARTS: Or(a=a, b=b, out=w1); Nand(a=a, b=b, out=w2); And(a=w1, b=w2, out=out); }