input  wire                     restart,
    input  wire [WORD_WIDTH-1:0]    divisor,
    input  wire                     pulses_in,
    output reg                      pulse_out,
    output reg                      div_by_zero
);

    initial begin
        pulse_out   = 1'b0;
        div_by_zero = 1'b0;
    end
</pre>

<p>These are the two counter values which are important: WORD_ONE signifies we
 have received <code>divisor</code> or <code>INITIAL_DIVISOR</code> pulses, and WORD_ZERO is never
 reached unl