ocalparam WORD_ZERO = {WORD_WIDTH{1'b0}};
</pre>

<p>If we are <em>loading</em> then substitute the <code>accumulated_value</code> with zero, and
 the <code>increment</code> with the <code>load_value</code>.  Converting a load to an addition to
 zero prevents us from loading a value outside the given limits, which could
 really upset things in the enclosing logic, and will set the output status
 bits correctly.</p>
<p><em><code>load</code> takes priority over a concurrent <code>increment</code></em>, so a l