The circuir diagram of a single stage camparator for 8 bits would be extremely complicated, instead u can use two four-bit-comparators in vascade. These comparators are really easy to design drawing upon Karnough Maps. PM me if u dont know how to design these.