【发布时间】:2020-12-04 11:31:25
【问题描述】:
我正在尝试获取浮点输入并将其拆分为符号、尾数和指数值。在第 7 行和第 8 行,我的编译器(我使用的是 Icarus Verilog)给出了错误:
无效的模块实例化
即使我没有在这里实例化任何模块。
module test(Input, exp, sign, mant);
input [31:0]Input;
output [7:0]exp;
output sign;
output [22:0]mant;
mant = Input[22:0];
exp = Input[30:23];
sign = Input[31];
endmodule
【问题讨论】: