|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
代码如下:
module DCM_test(
input clk_25m_external,
output clk_100m,
output clk_125m
);
wire rst_n1,rst_n2;
IBUFG IBUFG_inst(.O(clk_25m), .I(clk_25m_external));
dcm_100m dcm_100m_ (
.CLKIN_IN(clk_25m),
.RST_IN(1'b0),
.CLKFX_OUT(clk_100m),
.CLKIN_IBUFG_OUT(),
.CLK0_OUT(),
.LOCKED_OUT(rst_n1)
);
dcm_125m dcm_125m_ (
.CLKIN_IN(clk_25m),
.RST_IN(1'b0),
.CLKFX_OUT(clk_125m),
.CLKIN_IBUFG_OUT(),
.CLK0_OUT(),
.LOCKED_OUT(rst_n2)
);
endmodule
在dcm.v内部已经把IBUFG语句注释掉了,clk_25m_external接的是GCLK引脚,但是Place&Route的时候还是报错,
ERRORlace:1012 - A clock IOB / DCM component pair have been found that are not placed at an optimal clock IOB / DCM
site pair. The clock component <dcm_100m_/DCM_SP_INST> is placed at site <DCM_X1Y1>. The clock IO/DCM site can be
paired if they are placed/locked in the same quadrant. The IO component <clk_25m_external> is placed at site <9>.
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 "clk_25m_external" CLOCK_DEDICATED_ROUTE = FALSE; >
< PIN "dcm_100m_/DCM_SP_INST.CLKIN" CLOCK_DEDICATED_ROUTE = FALSE; >
让我加上这两天约束语句之后就可以了是哪里写的不对吗,难道并联时必须加这两条语句么?有没有解决办法呢?
综合后的technology视图如下:
|
|