If the input of 4 bit magnitude comparator is 1011 then what is the output
Answers
Answered by
0
comparator needs another 4 bit word to compare to. However lets say if the other one is B and this is A i.e A - 1011
then we calculate it as follows:
A= B : A3=B3, A2=B2, A1=B1, A0=B0
xi = AiBi + Ai’Bi’
XOR-Invert = (AiBi’+Ai’Bi)’
= (Ai’+Bi)(Ai+Bi’)
= Ai’Ai + Ai’Bi’ + AiBi + BiBi’
= AiBi + Ai’Bi’
Output: x3x2x1x0
Similar questions