diff options
author | lshprung <lshprung@yahoo.com> | 2020-10-05 09:46:29 -0700 |
---|---|---|
committer | lshprung <lshprung@yahoo.com> | 2020-10-05 09:46:29 -0700 |
commit | 37e17742a145abd0282543dfc0ae8dc8d98e2f6b (patch) | |
tree | 355cb620275b1c22b0961a00ffb4d27ded369f15 /6.md | |
parent | e47cade1d9549a2c9a616dd82891521aeb2bc2c6 (diff) |
Post-class 10/05
Diffstat (limited to '6.md')
-rw-r--r-- | 6.md | 79 |
1 files changed, 79 insertions, 0 deletions
@@ -0,0 +1,79 @@ +[\<- Additional K-map concepts: solving for 0's and use of don't cares](5.md) + +--- + +# Multiplexers + +## Enable and Disable + +- Enable: allow the other input to pass thru + - `X*1` = `X` + - `X+0` = `X` +- Disable:` ma`ke the other input irrelevant + - `X*0` = `0` + - `X+1` = `1` + +![diagram](6.1.png) + +--- + +## 2-to-1 mux + +- "mux" is short for multiplexer + +### Multiplexer + +- Use a select signal to "pass" thru one of the two inputs + - Only one of the two paths is "enabled" +- It doesn't matter what w0 and w1 are in the example below + +![diagram](6.2.png) + +--- + +## 4-to-1 mux + +- If we have four choices we need 2 selects + - N select signals allows 2^N choices +- Each AND gate has a unique "enable", and exactly one is enabled at any time + +![diagram](6.3.png) + +--- + +## Abstraction/schematic symbol for muxes + +### Multiplexers as an abstraction + +- So common (and useful) that there is a symbol for it + - We don't have to keep drawing out the gates +- Values to pass thru are "data" inputs, or ports +- Be careful if/when ports aren't labeled +- Can be extended to any number of choices + +![diagram](6.4.png) + +--- + +## Hierarchy of muxes + +### A 4:1 mux using 2:1 muxes + +- A 2:1 mux can only take 2 inputs + - Need two 2:1 muxes at least + - Only narrows the choices from 4 to 2 + - So, one more mux to make final choice +- What are A,B,C in terms of S1,S0 in the diagram below? + + +![diagram](6.5.png) + +### Extending the concept + +- A 16-to-1 made up of 4-to-1 muxes: + +![diagram](6.6.png) + +--- + +[Shannon's expansion and FPGAs ->](7.md) |