|
发表于 2022-1-4 17:00:54
|
显示全部楼层
你好,能帮我看下吗?照着写的出了很多问题。
module binmp(
input wire pad_Clk,
input wire pad_Rst_n,
input wire [3:0] pad_hidden_in,
input wire [5:0] pad_W2,
input wire pad_en,
output wire [9:0] pad_out
);
wire pad_Clk;
wire pad_Rst_n;
wire [3:0] pad_hidden_in;
wire [5:0] pad_W2;
wire pad_en;
wire [9:0] pad_out;
Binary_Mult u_Binary_Mult(
.Clk(pad_Clk),
.Rst_n(pad_Rst_n),
.hidden_in(pad_hidden_in),
.W2(pad_W2),
.en(pad_en),
.out(pad_out)
);
//iopad: PDDW0204SCDG (I,DS,OEN,PAD,C,PE,IE);
//input: (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_),.C(),.PE(1'b0),.IE(1'b1));
//output: (.I(),.DS(1'b1),.OEN(1'b0),.PAD(pad_),.C(),.PE(1'b1),.IE(1'b1));
// input
PDDW0204SCDG clk_iopad (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_Clk), .C(Clk), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG Rst_n_iopad (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_Rst_n), .C(Rst_n), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG hidden_in_iopad0 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_hidden_in[0]), .C(hidden_in[0]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG hidden_in_iopad1 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_hidden_in[1]), .C(hidden_in[1]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG hidden_in_iopad2 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_hidden_in[2]), .C(hidden_in[2]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG hidden_in_iopad3 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_hidden_in[3]), .C(hidden_in[3]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad0 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[0]), .C(W2[0]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad1 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[1]), .C(W2[1]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad2 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[2]), .C(W2[2]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad3 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[3]), .C(W2[3]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad4 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[4]), .C(W2[4]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG W2_iopad5 (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_W2[5]), .C(W2[5]), .PE(1'b0),.IE(1'b1));
PDDW0204SCDG en_iopad (.I(1'b0),.DS(1'b0),.OEN(1'b1),.PAD(pad_en), .C(en), .PE(1'b0),.IE(1'b1));
// output
PDDW0204SCDG out_iopad0 (.I(out[0]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[0]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad1 (.I(out[1]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[1]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad2 (.I(out[2]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[2]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad3 (.I(out[3]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[3]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad4 (.I(out[4]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[4]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad5 (.I(out[5]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[5]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad6 (.I(out[6]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[6]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad7 (.I(out[7]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[7]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad8 (.I(out[8]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[8]), .C(), .PE(1'b0),.IE(1'b0));
PDDW0204SCDG out_iopad9 (.I(out[9]),.DS(1'b1),.OEN(1'b0),.PAD(pad_out[9]), .C(), .PE(1'b0),.IE(1'b0));
endmodule
错误问题
Compiling source file ./rtl/tpdn65lpnv2od3.v
Warning: ./rtl/tpdn65lpnv2od3.v:53: the undeclared symbol 'PAD_i' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:55: the undeclared symbol 'CO' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:56: the undeclared symbol 'C_buf' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:57: the undeclared symbol 'PUEN' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:58: the undeclared symbol 'PU' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:59: the undeclared symbol 'PSB' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:60: the undeclared symbol 'PD' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:61: the undeclared symbol 'PAD_q' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:62: the undeclared symbol 'DS_tmp' assumed to have the default net type, which is 'wire'. (VER-936)
Error: ./rtl/tpdn65lpnv2od3.v:69: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:69: The construct '$test$plusargs system function' is not supported in synthesis; it is ignored. (VER-708)
Error: ./rtl/tpdn65lpnv2od3.v:71: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:71: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:71: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:73: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:84: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:96: The construct 'specify' is not supported in synthesis; it is ignored. (VER-708)
Warning: ./rtl/tpdn65lpnv2od3.v:121: the undeclared symbol 'PAD_i' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:123: the undeclared symbol 'CO' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:124: the undeclared symbol 'C_buf' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:125: the undeclared symbol 'PUEN' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:126: the undeclared symbol 'PU' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:127: the undeclared symbol 'PSB' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:128: the undeclared symbol 'PD' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:129: the undeclared symbol 'PAD_q' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:130: the undeclared symbol 'DS_tmp' assumed to have the default net type, which is 'wire'. (VER-936)
Error: ./rtl/tpdn65lpnv2od3.v:137: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:137: The construct '$test$plusargs system function' is not supported in synthesis; it is ignored. (VER-708)
Error: ./rtl/tpdn65lpnv2od3.v:139: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:139: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:139: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:141: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:152: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:164: The construct 'specify' is not supported in synthesis; it is ignored. (VER-708)
Warning: ./rtl/tpdn65lpnv2od3.v:189: the undeclared symbol 'PAD_i' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:191: the undeclared symbol 'CO' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:192: the undeclared symbol 'C_buf' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:193: the undeclared symbol 'PUEN' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:194: the undeclared symbol 'PU' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:195: the undeclared symbol 'PSB' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:196: the undeclared symbol 'PD' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:197: the undeclared symbol 'PAD_q' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:198: the undeclared symbol 'DS_tmp' assumed to have the default net type, which is 'wire'. (VER-936)
Error: ./rtl/tpdn65lpnv2od3.v:205: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:205: The construct '$test$plusargs system function' is not supported in synthesis; it is ignored. (VER-708)
Error: ./rtl/tpdn65lpnv2od3.v:207: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:207: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:207: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:209: case equality (===) is not supported by synthesis. (VER-189)
Error: ./rtl/tpdn65lpnv2od3.v:220: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:232: The construct 'specify' is not supported in synthesis; it is ignored. (VER-708)
Warning: ./rtl/tpdn65lpnv2od3.v:257: the undeclared symbol 'PAD_i' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:259: the undeclared symbol 'CO' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:260: the undeclared symbol 'C_buf' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:261: the undeclared symbol 'PUEN' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:262: the undeclared symbol 'PU' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:263: the undeclared symbol 'PSB' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:264: the undeclared symbol 'PD' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:265: the undeclared symbol 'PAD_q' assumed to have the default net type, which is 'wire'. (VER-936)
Warning: ./rtl/tpdn65lpnv2od3.v:266: the undeclared symbol 'DS_tmp' assumed to have the default net type, which is 'wire'. (VER-936)
Error: ./rtl/tpdn65lpnv2od3.v:273: case equality (===) is not supported by synthesis. (VER-189)
Warning: ./rtl/tpdn65lpnv2od3.v:273: The construct '$test$plusargs system function' is not supported in synthesis; it is ignored. (VER-708)
Error: ./rtl/tpdn65lpnv2od3.v:275: case equality (===) is not supported by synthesis. (VER-189)
Error: Too many errors; can't continue. (VER-40)
*** Presto compilation terminated with 21 errors. ***
Running PRESTO HDLC
Error: ./rtl/binmp.v:33: Type query about dimensions or access by indexing requires an array reference as the first argument. (ELAB-400)
*** Presto compilation terminated with 1 errors. ***
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'pad_Clk'. (UID-109)
Error: Value for list 'source_objects' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'pad_Clk'. (UID-109)
Error: Value for list 'object_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Can't find clock 'pad_Clk'. (UID-109)
Error: Value for list 'object_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Can't find clock 'pad_Clk'. (UID-109)
Error: Value for list 'object_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Can't find clock 'pad_Clk'. (UID-109)
Error: Value for list 'clock_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Can't find ports matching '*'. (UID-109)
Error: Value for list 'objects' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Can't find clock 'pad_Clk'. (UID-109)
Error: Value for list '-clock' must have 1 elements. (CMD-036)
Error: Value for list 'port_pin_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Can't find clock 'pad_Clk'. (UID-109)
Error: Value for list '-clock' must have 1 elements. (CMD-036)
Error: Value for list 'port_pin_list' must have 1 elements. (CMD-036)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'clk_iopad'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'Rst_n_iopad'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'hidden_in_iopad0'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'hidden_in_iopad1'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'hidden_in_iopad2'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'hidden_in_iopad3'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad0'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad1'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad2'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad3'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad4'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'W2_iopad5'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'en_iopad'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad0'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad1'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad2'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad3'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad4'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad5'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad6'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad7'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad8'. (UID-109)
Error: Current design is not defined. (UID-4)
Error: Can't find object 'out_iopad9'. (UID-109)
Error: Value for list 'object_list' must have 1 elements. (CMD-036)
Information: Auto ungrouping of the design is disabled because the '-no_boundary_optimization' is used. (OPT-1316)
Warning: The value of variable 'compile_preserve_subdesign_interfaces' has been changed to true because '-no_boundary_optimization' is used. (OPT-133)
Information: Starting from 2013.12 release, constant propagation is enabled even when boundary optimization is disabled. (OPT-1318)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
Error: Current design is not defined. (UID-4)
|
-
io_pad
|