Design of all optical 1-bit and 2-bit magnitude comparator using micro-ring resonator | IEEE Conference Publication | IEEE Xplore