small resolution of circuit diagram logic gate