how to create an expandable 2 bit comparator after i\'ve got the equation for th
ID: 1923602 • Letter: H
Question
how to create an expandable 2 bit comparator after i've got the equation for the 2 bit comparatorinput is A[1:0] B[1:0]
EQU----NotA0NotA1NotB0NotB1 + NotA0A1NotB0B1 + A0A1B0B1 + A0NotA1B0NotB1
GT-----A1NotB0NotB2 + A0A1NotB1 + A0NotB0
LT -----NotA0NotA1B1 + NotA1B0B1 + NotA0B0
need the equation for the expandable version.
Explanation / Answer
For 1bit comparator A = X(complement of Y)=G0 (Greater) B= (X complement)(Y complement) + XY =E0(Equal) C= (Xcomplement)Y=L0(Less) 2 bit (X>Y) = G1+E1G0 ; G1 indicates comaparision between the most significant bit in 2 (X=Y) =E1E0 bit between X and Y similarily G0 indicates comparison between least significant (XY = G3+E3G2+E2G1E3+E1G0E3E2 ; G2 most significant bit comparison in 3 bit (X=Y )= E3E2E1E0 between X and Y (XRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.