forked from ccccourse1/co111a
-
Notifications
You must be signed in to change notification settings - Fork 0
Bit
4YCAaaa edited this page Jan 4, 2023
·
1 revision
- 1-bit register:
- If load[t] == 1 then out[t+1] = in[t] else out does not change (out[t+1] = out[t])
CHIP Bit {
IN in, load;
OUT out;
PARTS:
// Put your code here:
Mux(a=out1,b=in,sel=load,out=muxout);
DFF(in=muxout,out=out,out=out1);
}