verilog小程序语法问题求解--时钟管脚设置问题

moduleShitReg(inputcp,inputrst,inputdin,outputreg[7:0]dout);always@(posedgecp)begindo... module ShitReg(
input cp,
input rst,
input din,
output reg [7:0] dout
);

always @(posedge cp)
begin
dout = dout << 1;
dout[0] = din;
end

endmodule

管脚设置如下

NET "cp" LOC = B18;
NET "din" LOC = G18;
NET "dout[0]" LOC = J14;
NET "dout[1]" LOC = J15;
NET "dout[2]" LOC = K15;
NET "dout[3]" LOC = K14;
NET "dout[4]" LOC = E17;
NET "dout[5]" LOC = P15;
NET "dout[6]" LOC = F4;
NET "dout[7]" LOC = R4;
NET "rst" LOC = H13;

错误警告

ERROR:Place:1018 - A clock IOB / clock component pair have been found that are not placed at an optimal clock IOB /
clock site pair. The clock component <cp_BUFGP/BUFG> is placed at site <BUFGMUX_X2Y10>. The IO component <cp> is
placed at site <IPAD59>. This will not allow the use of the fast path between the IO and the Clock buffer. If this
sub optimal condition is acceptable for this design, you may use the CLOCK_DEDICATED_ROUTE constraint in the .ucf
file to demote this message to a WARNING and allow your design to continue. However, the use of this override is
highly discouraged as it may lead to very poor timing results. It is recommended that this error condition be
corrected in the design. A list of all the COMP.PINs used in this clock placement rule is listed below. These
examples can be used directly in the .ucf file to override this clock rule.
< NET "cp" CLOCK_DEDICATED_ROUTE = FALSE; >
展开
 我来答
lingxinskype
2014-11-30 · TA获得超过472个赞
知道小有建树答主
回答量:423
采纳率:0%
帮助的人:222万
展开全部
你在你引脚声明的下面加上这句话 NET "cp" CLOCK_DEDICATED_ROUTE = FALSE; 因为这是时序约束造成的。
最后的样子是下面:
NET "cp" CLOCK_DEDICATED_ROUTE = FALSE;
NET "cp" LOC = B18;
NET "din" LOC = G18;
NET "dout[0]" LOC = J14;
NET "dout[1]" LOC = J15;
NET "dout[2]" LOC = K15;
NET "dout[3]" LOC = K14;
NET "dout[4]" LOC = E17;
NET "dout[5]" LOC = P15;
NET "dout[6]" LOC = F4;
NET "dout[7]" LOC = R4;
NET "rst" LOC = H13;
追问
wo~ 谢谢!!
TableDI
2024-07-18 广告
VLOOKUP是Excel中用于垂直查找的函数,其基本用法包括四个参数:1. 查找值:即在数据表首列中需要搜索的值。2. 数据表:包含查找值的单元格区域或数组。3. 返回值所在列数:指定返回查询区域中第几列的值。4. 查找方式:选择精确匹配... 点击进入详情页
本回答由TableDI提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式