Killboy wrote
I'm working on the ALU and my guess is that I'm making things more complicated than they need to be .. does it make sense to have a DMux16 to switch between alternate paths?
thanks
E.g.
Sel
|------------------|
in---[Dmux16]---- path_1 ----[Mux16]--- out
\--- path_2 ---/
The Mux16 doesn't care what the value is at its unselected input, so you can directly connect
in to both path 1 and path 2.
Since both paths are computed at the same time by the hardware, it doesn't slow things down. In fact, the Demux would add additional delay.
--Mark