Download presentation
Presentation is loading. Please wait.
1
Cascading 1-Bit Comparators Lecture L6.5
2
A 1-Bit Comparator The variable Gout is 1 if x > y or if x = y and Gin = 1. The variable Eout is 1 if x = y and Gin = 0 and Lin = 0. The variable Lout is 1 if x < y or if x = y and Lin = 1.
3
The variable Gout is 1 if x > y or if x = y and Gin = 1. The variable Eout is 1 if x = y and Gin = 0 and Lin = 0. The variable Lout is 1 if x < y or if x = y and Lin = 1.
4
Gout = x & !y # x & Gin # !y & Gin Eout = !x & !y & !Gin & !Lin # x & y & !Gin & !Lin Lout = !x & y # !x & Lin # y & Lin
5
A 4-Bit Comparator
6
Question If x = 1, y = 1, Gin = 1, and Lin = 0, then Gout will be A) 0B) 1
7
If [x3..x0] = [1,0,1,1] and [y3..y0] = [1,0,0,1], then Gout = [G4..G1] is equal to A) [1,0,1,0] B) [0,0,1,0] C) [1,1,1,0] D) [1,1,0,1] E) none of the above 0111 Question
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.