I'm relatively new to electronics and recently decided to design and build a very simple CPU as a personal project. My instruction size is 32 bits and I want to have 32 bit registers so I am going to need several 32 bit wide, 4 way multiplexers.
I know how to construct one using 32 1 bit, 4 way multiplexers but I'm wondering if there is a better way to do this?
EDIT:
Essentially this:
How to create an n-bit multiplexer
but in terms of actual hardware.
Answer
One way to achieve what you want is use dense tri-state buffers, such as:
http://www.ti.com/lit/ds/sces422/sces422.pdf
You will need one (2 to 4) decoder to decode address and drive enable controls for 4 32-bit buffers. Exactly one buffer will be enabled at any given time.
Here is one example image:
No comments:
Post a Comment