This is the only basic binary comparator. It was designed by using n-Network and its complementary method. There are another easier cirsuit's form to do this which i will study further. A signal is one the leftside and B vice versa. The purple line goes high if A > B . The green ome pulls high if A < B. The last one if A = B, it pulls high. :)