Tuesday, 10 April 2018

cpu - 32 bit, 4 way multiplexer



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:


enter image description here


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...