请问为什么会出现这个问题呢Line 39: Cannot find port Number_Data on this module
时间:10-02
整理:3721RD
点击:
module smg_interface( input CLK,
input RSTn,
input [23:0] Number_Sig,
output [7:0] SMG_Data,
output [5:0] Scan_Sig
);
wire [3:0] Number_Data;
smg_control_module U1
(
.CLK(CLK),
.RSTn(RSTn),
.Number_Sig(Number_Sig),
.Number_Data(Number_Data)
);
smg_encode_module U2
(
.CLK(CLK),
.RSTn(RSTn),
.Number_Data(Number_Data),
.SMG_Data(SMG_Data)
);
smg_scan_module U3
(
.CLK(CLK),
.RSTn(RSTn),
.Scan_Sig(Scan_Sig)
);
endmodule
Line 39: Cannot find port Number_Data on this module
input RSTn,
input [23:0] Number_Sig,
output [7:0] SMG_Data,
output [5:0] Scan_Sig
);
wire [3:0] Number_Data;
smg_control_module U1
(
.CLK(CLK),
.RSTn(RSTn),
.Number_Sig(Number_Sig),
.Number_Data(Number_Data)
);
smg_encode_module U2
(
.CLK(CLK),
.RSTn(RSTn),
.Number_Data(Number_Data),
.SMG_Data(SMG_Data)
);
smg_scan_module U3
(
.CLK(CLK),
.RSTn(RSTn),
.Scan_Sig(Scan_Sig)
);
endmodule
Line 39: Cannot find port Number_Data on this module
找到你smg_control_module的定义的地方看一下。是不是定义错了
因为你例化的那个文件里面那个信号不是作为IO口
一语道破天机!
一语道破天机!