|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
我将CLK-IN放在一个普通脚上,出现错误
A clock IOB / clock component pair have been found that are not placed at an optimal clock IOB /
但是我就像用这个脚的信号,我该怎么做?
下面是代码:
module clk_test(clk_in,h_in,v_in,clk_out,h_out);
input clk_in;
input h_in;
input v_in;
output clk_out;
output h_out;
reg clk_out;
reg h_out;
reg [7:0]counter;
always @ (posedge clk_in)
begin
if (counter==19)
begin
clk_out = ~clk_out;
counter=0;
h_out=v_in;
end
else
begin
counter=counter+1;
h_out=h_in;
end
end
endmodule |
|