title: regarding error "Range must be bounded by constant expressions"
body: <pre><code>always @(numint or numfrac)
    begin
       begin : BIT_DET
       for (i=22;i&gt;0;i=i-1)
         begin
           if (numint[i]==1'b1)
             begin
  
             ieeesign &lt;= numsign ;
              ieeeexp [7:0] &lt;=  127+i;
              ieeemant[22:0] &lt;= { numint[i-1:0] , numfrac[22:i] } ;
              ieeeop [31:0] &lt;=  { ieeesign, ieeeexp , ieeemant[22:0] } ;
              disable BIT_DET;
             end
       end
     end
    end
  endmodule
  </code></pre>
  
  <p>Please tell me how can i remove the error?</p>