/* multiplexor */

Switch 1a sw0 ZERO;
Switch 2a sw1 ZERO;
Switch 3a sw2 ZERO;
Switch 4a sw3 ZERO;
Switch 6a sw4 ZERO;
Not    6a sw4 not-out-a;
Switch 7a sw5 ZERO;
Not    7a sw5 not-out-b;

And 1c sw0 not-out-a not-out-b out-1;
And 2c sw1 not-out-a sw5 out-2;
And 3c sw2 sw4 not-out-b out-3;
And 4c sw3 sw4 sw5 out-4;
Or  3d out-1 out-2 out-3 out-4 mux-out;

Switch 8a sw6 ZERO;
Not    8a sw6 not-out-c;
Switch 9a sw7 ZERO;
Not    9a sw7 not-out-d;

And 1f mux-out not-out-c not-out-d final-1;
And 2f mux-out not-out-c sw7 final-2;
And 3f mux-out sw6 not-out-d final-3;
And 4f mux-out sw6 sw7 final-4;

Probe 1g final-1;
Probe 2g final-2;
Probe 3g final-3;
Probe 4g final-4;
