end</pre>
<pre style="margin:0; padding:0 ">  70: </pre>
<pre style="margin:0; padding:0 ">  71:     // Grant Generation: Leading-One detector</pre>
<pre style="background-color: #C0C0C0; margin:0; padding:0 ">  72:     assign winner = ppc_out ^ {ppc_out[N-2:0], 1'b0};</pre>
<pre style="background-color: #C0C0C0; margin:0; padding:0 ">  73:     assign gnt_o    = (ready_i) ? winner : '0;</pre>
<pre style="margin:0; padding:0 ">  74: </pre>
<pre style="background-color: #C0C0C0; margin:0; padding:0 ">  75:   