// Pin connections are generated from the same netlist as the diagrams.
module decade_counter_chips
(
    input              clk,
    input              rst,
    input              inhibit,
    output       [9:0] q,
    output             carry
);


    cd4017b u1
    (
        .p1_q5        (q [5]),
        .p2_q1        (q [1]),
        .p3_q0        (q [0]),
        .p4_q2        (q [2]),
        .p5_q6        (q [6]),
        .p6_q7        (q [7]),
        .p7_q3        (q [3]),
        .p9_q8        (q [8]),
        .p10_q4       (q [4]),
        .p11_q9       (q [9]),
        .p12_carry    (carry),
        .p13_inhibit  (inhibit),
        .p14_clock    (clk),
        .p15_reset    (rst)
    );

endmodule
