What's We Did So Far
What's We Did So Far
What's We Did So Far
4-to-1 MUX
2
Computer Programming TA C162
1 0
0
1 Output changes to zero.
1
1 0
1
0 1
0
0
Then set R=1 to “store” value in quiescent state.
4
Computer Programming TA C162
0 1
1 0
1
Then set S=1 to “store” value in quiescent state.
5
Computer Programming TA C162
Quiescent state
Holds previous value
1 1
0 1 0
1
1 0 1
0
1 1
6
Computer Programming TA C162
R=S=0
• Both outputs equal one
• Final state determined by electrical properties of gates
• Don’t do it!
7
Computer Programming TA C162
Gated D-Latch
Two inputs: D (data) and WE (write enable)
• when WE = 1, latch is set to value of D
S = NOT(D), R = D
• when WE = 0, latch holds previous value
S = R = 1
8
Computer Programming TA C162
Register
A register stores a multi-bit value.
• We use a collection of D-latches, all controlled by a
common WE.
• When WE = 1, n-bit value D is written to register.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: