Registry implemtation alternative without time input
I have just read chapter 3 and was wondering if 1-bit register could be implemented with just mux. As we have seen in chapter 3 the first cycle of the clock in a 1 bit register the output is unknown which then ofcourse gets a value of 0 or 1 depending on "in" in the next cycle.
My question is can't we just implement 1-bit register with just mux(combination logic) and leave out DFF. A 1-bit register has a mux and a DFF, DFF output is fed back into one of the input pins in mux and that how the "in" value is remembered indefinitely until there is no power. If we exclude DFF and feed the mux output into itself, won't it work the same way. I got images that should explain what im thinking.
Consider this circuit, which is a part of the CPU that you will build in project 5.
When an instruction like D=D+1 executes, the output of the D Register needs to be incremented and stored back into the D Register.
If the D Register is latch-based instead of DFF-based, as soon as the dest-d control signal goes high, the ALU will increment the D Register output and send it back to the D register which will send its new input to the ALU which will....
The circuit will continuously increment as fast as it can.