|

楼主 |
发表于 2012-9-20 09:28:02
|
显示全部楼层
我的顶层是module top_led(clk,cout);
input clk;
output [1:0]cout;
led1 led1(
.clk(clk),
.cout(cout[0])
);
led2 led2(
.clk(clk),
.cout(cout[1])
);
endmodule
模块端口列表是
module led1(clk,cout)/*synthesis syn_black_box*/ ;
input clk;
output cout;
endmodule
module led2(clk,cout)/*synthesis syn_black_box*/ ;
input clk;
output cout;
endmodule
我的ngo文件是用synplify pro 生成的edn文件,然后用lattice daimond编译edn文件生成的。最后建立新工程在工程中加上ngo,端口列表文件,顶层文件,/*synthesis syn_black_box*/ 写在synplify pro工程文件的代码中。ERROR - map: IO buffer clk drives IO buffer led2/clk_pad directly, but this is not possible是我顶层文件的问题还是我生成ngo文件的问题啊 |
|