From WikiChip
Editing multiplexer

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 12: Line 12:
 
== Description ==
 
== Description ==
 
<span style="float:right; display: inline-block;">[[File:3reg mux31.svg|200px|A simple selection of 3 [[register]]s.]]</span>
 
<span style="float:right; display: inline-block;">[[File:3reg mux31.svg|200px|A simple selection of 3 [[register]]s.]]</span>
A multiplxer is a device that receives multiple inputs from usually different sources. A set of select lines are then used to choose which of those inputs gets produced as output. Signals to the select lines usually come from a control unit that determines which, if any, of the signals should be routed to some destination. MUXes are core components in most digital systems as they can be used to pass the correct signal based on some conditional logic. For example, consider a [[data bus]] that is connected to [[register file|multiple]] memory [[register|storage units]]. One can use a multiplexer to select which of those lines should be going to the shared data bus.
+
A multiplxer is a device that receives multiple inputs from usually different sources. A set of select lines are then used to choose which of those inputs gets produced as output. Signals to the select lines usually come from a control unit that determins which, if any, of the signals should be routed to some destination. MUXes are core components in most digital systems as they can be used to pass the correct signal based on some conditional logic. For example, consider a [[data bus]] that is connected to [[register file|multiple]] memory [[register|storage units]]. One can use a multiplexer to select which of those lines should be going to the shared data bus.
  
 
=== Enable/Tri-State ===
 
=== Enable/Tri-State ===
Line 82: Line 82:
 
|+ 4:1 Mux  
 
|+ 4:1 Mux  
 
|-
 
|-
! Sel<1> !! Sel<0> !! I<0> !! I<1> !! I<2> !! I<3> !! Q
+
! Sel<0> !! Sel<1> !! I<0> !! I<1> !! I<2> !! I<3> !! Q
 
|-
 
|-
 
| 0 || 0 || 0 || X || X || X || 0
 
| 0 || 0 || 0 || X || X || X || 0
Line 95: Line 95:
 
|-
 
|-
 
| 1 || 0 || X || X || 1 || X || 1
 
| 1 || 0 || X || X || 1 || X || 1
 +
|-
 +
| 1 || 1 || X || X || X || 1 || 1
 
|-
 
|-
 
| 1 || 1 || X || X || X || 0 || 0
 
| 1 || 1 || X || X || X || 0 || 0
|-
 
| 1 || 1 || X || X || X || 1 || 1
 
 
|}
 
|}
 
A '''4:1''' Multiplexer is a common multiplexer that takes selects one input among 4 and connects it to its output based on a 2-bit select line. There are many way to construct a 4:1 Mux, one possibility is using 2:1 Mux as shown below:
 
A '''4:1''' Multiplexer is a common multiplexer that takes selects one input among 4 and connects it to its output based on a 2-bit select line. There are many way to construct a 4:1 Mux, one possibility is using 2:1 Mux as shown below:
Line 106: Line 106:
 
Alternatively, a 4:1 Mux can be built out of basic gates. Its function is shown below:
 
Alternatively, a 4:1 Mux can be built out of basic gates. Its function is shown below:
  
Q = <math>(A \land \overline S_0 \land \overline S_1) \lor (B \land S_0 \land\overline S_1) \lor (C \land\overline S_0 \land S_1) \lor (D  \land S_0 \land S_1)</math>
+
Q = <math>(A \land \overline S_0 \land \overline S_1) \lor (B \land \overline S_0 \land S_1) \lor (C \land S_0 \land \overline S_1) \lor (D  \land S_0 \land S_1)</math>
  
 
Where A, B, C, and D are the four inputs. Q is the output.
 
Where A, B, C, and D are the four inputs. Q is the output.
Line 140: Line 140:
 
|-
 
|-
 
| {{74s|74158}}  || Quad 2:1 MUX || Output is inverted input
 
| {{74s|74158}}  || Quad 2:1 MUX || Output is inverted input
|-
 
| {{74s|74257}}  || Quad 2:1 MUX || Output same as input, High-Z Enable
 
 
|-
 
|-
 
| {{74s|74298}}  || Quad 2:1 MUX with Register || MUX with an [[SR latch]]
 
| {{74s|74298}}  || Quad 2:1 MUX with Register || MUX with an [[SR latch]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)