Thursday, May 7, 2015

32bit Router

When decoding instructions, each opcode and operand need to route data around to various components and registers.  I was using decoders and individual selectors to turn on the data (as opposed to having them be in their default tri-state).
But this was a big mess, so after some thought I made a part that takes a 32 but value, has 16 x 32bit outputs and takes a 16bit address value to pick the output to route the data to.  I just call it a 32bit router.  This will clean up the tangle of routes I was using previously.

Also, for this, I want address 0 to route to the first output, so I use a fat NOR for the task.

Here it is:


No comments:

Post a Comment