// Pin connections are generated from the same netlist as the diagrams.
module sipo_8bit_chips
(
    input              clk,
    input              rst,
    input              serial,
    output       [7:0] q
);


    cd4015b u1
    (
        .p1_clk_b     (clk),
        .p2_q4_b      (q [7]),
        .p3_q3_a      (q [2]),
        .p4_q2_a      (q [1]),
        .p5_q1_a      (q [0]),
        .p6_rst_a     (rst),
        .p7_d_a       (serial),
        .p9_clk_a     (clk),
        .p10_q4_a     (q [3]),
        .p11_q3_b     (q [6]),
        .p12_q2_b     (q [5]),
        .p13_q1_b     (q [4]),
        .p14_rst_b    (rst),
        .p15_d_b      (q [3])
    );

endmodule
