Hallo Julius: I'm getting the following lint warning with Icarus Verilog:
or1200_fpu_intfloat_conv.v:147: warning: Instantiating module or1200_fpu_intfloat_conv_except with dangling input port 'opb' (floating). This is the instantiation that's causing that warning: or1200_fpu_intfloat_conv_except u0 ( ... .opb(), ... opb is an input port and not being assigned to anything. I don't understand what's going on in that module, but I suspect nevertheless that operand B would not work anyway, look at the following commented-out snippets in or1200_fpu_intfloat_conv_except.v: always @(posedge clk) ind <= (expa_ff & infa_f_r); // & (expb_ff & infb_f_r); always @(posedge clk) inf <= (expa_ff & infa_f_r); // | (expb_ff & infb_f_r); I followed the logic and it looks like none of the input or output ports for Operand B are being used at all. Could you fix this warning? There are 2 ways to fix it in my opinion: 1) Pass some fixed value for port 'opb'. The trouble is, I wouldn't know what value to pass. 2) Remove support for operand B completely, which probably does not work well anyway (see above). To that effect, please see the attached file. The instantiation would then look like this: or1200_fpu_intfloat_conv_except u0 ( .clk(clk), .opa(opa_r), .inf(inf_d), .ind(ind_d), .qnan(qnan_d), .snan(snan_d), .opa_nan(opa_nan), .opa_00(opa_00), .opa_inf(opa_inf), .opa_dn(opa_dn) ); Thanks, rdiez
or1200_fpu_intfloat_conv_except.v
Description: Binary data
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
