mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
project03 - create bit, register, and program counter
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user