Check out the app note below to learn how to implement the Identity and Magnitude comparator using the SLG46533V Dialog GreenPAK CMIC to construct both circuits:
Device:
Device Number:
SLG46533V