Cascading 1-Bit Comparators Lecture L6.5
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.
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.
Gout = x & !y # x & Gin # !y & Gin Eout = !x & !y & !Gin & !Lin # x & y & !Gin & !Lin Lout = !x & y # !x & Lin # y & Lin
A 4-Bit Comparator
Question If x = 1, y = 1, Gin = 1, and Lin = 0, then Gout will be A) 0B) 1
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