// Synthesizable ideal digital model; power and propagation delays omitted.
// Digital forward-path subset: INHIBIT=0 and VEE=GND; no analog or reverse path.

module cd4052b
(
    input  p1_b0,
    input  p2_b2,
    input  p4_b3,
    input  p5_b1,
    input  p6_inhibit,
    input  p7_vee,
    input  p9_s1,
    input  p10_s0,
    input  p11_a3,
    input  p12_a0,
    input  p14_a1,
    input  p15_a2,
    output p3_yb,
    output p13_ya
);

    wire [1:0] select_bits = { p9_s1, p10_s0 };
    wire [3:0] data_a      = { p11_a3, p15_a2, p14_a1, p12_a0 };
    assign p13_ya          = data_a [select_bits];
    wire [3:0] data_b      = { p4_b3, p2_b2, p5_b1, p1_b0 };
    assign p3_yb           = data_b [select_bits];

endmodule
