project03 - create bit, register, and program counter

This commit is contained in:
2025-09-03 10:19:05 -04:00
parent 22e0b42305
commit e485868265
3 changed files with 38 additions and 4 deletions

View File

@@ -13,5 +13,8 @@ CHIP Bit {
OUT out;
PARTS:
//// Replace this comment with your code.
// choose new input or current stored value
Mux(a=dffOut, b=in, sel=load, out=muxOut);
// DFF (new): hold val
DFF(in=muxOut, out=out, out=dffOut);
}