Ask Your Question
0

你们板子输入都是LVDS时钟,跟单端比,有什么需要处理的吗?

asked 2018-11-12 02:41:34 -0600

nick qian gravatar image

updated 2020-01-13 03:07:06 -0600

fae gravatar image

你们板子输入都是LVDS时钟,跟单端比,有什么需要处理的吗?

相关问题:时钟配置了,输出的时钟频率不太对,怎么回事?

设置方法:【Xilin 官网QA】

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2018-11-12 21:22:19 -0600

fae gravatar image

updated 2018-12-24 06:51:37 -0600

1)在代码里使用IBUFDS + BUFG 需要加DIFF_TERM("TRUE")属性;

IBUFDS #(
   .DIFF_TERM("TRUE"),
   .IOSTANDARD("LVDS")
) IBUFDS_inst0 (
   .O(Clk_out_buf),
   .I(Clk_in_P),
   .IB(Clk_in_N)
);

BUFG BUFG_D0(
    .I(Clk_out_buf), 
    .O(Clk_out)
);

2)如果代码里IBUFDS没有加DIFFTERM("TRUE")属性,还可以在xdc文件中加DIFFTERM约束。

IBUFDS IBUFDS_inst0 (
   .O(Clk_out_buf),
   .I(Clk_in_P),
   .IB(Clk_in_N)
);

BUFG BUFG_D0(
    .I(Clk_out_buf), 
    .O(Clk_out)

);

# xdc file

     set_property DIFF_TERM TRUE [get_ports Clk_in_P]

     set_property DIFF_TERM TRUE [get_ports Clk_in_N]
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-11-12 02:41:34 -0600

Seen: 638 times

Last updated: Jan 13 '20