8 to 3 encoder circuit diagram. -W enables differentiation between I0 and no .