Updated the Bit chip to less parts and finsihed the Register chip.

This commit is contained in:
2021-03-18 19:14:02 -05:00
parent 00709e8dd7
commit 7fd8ed2f75
3 changed files with 167 additions and 3 deletions
+2 -3
View File
@@ -15,7 +15,6 @@ CHIP Bit {
PARTS:
// Put your code here:
Mux(a=FromDFF, b=in, sel=load, out=selected);
DFF(in=selected, out=FromDFF);
And(a=FromDFF, b=FromDFF, out=out);
Mux(a=a, b=in, sel=load, out=selected);
DFF(in=selected, out=a, out=out);
}