|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
module top(
input clk,
output clk_100m,
output rst
);
reg [3:0]cont = 0;
wire rst ;
assign rst = &cont ? 1'b0 : 1'b1 ;
always @ ( posedge clk )
begin
cont <= &cont ? cont : cont + 1'b1 ;
end
mypll mypll_100m
(
.CLK_IN1 ( clk ),
.CLK_OUT1( clk_100m ),
.CLK_OUT2( ),
.RESET ( ),
.LOCKED ( )
);
endmodule
编译时如下错误如何解决?
ERROR:Xst:2035 - Port <clk> has illegal connections. This port is connected to an input buffer and other components. |
|