Spartan-3 LVDS UCF

本文介绍如何选择FPGA上的LVDS信号对,包括合适的引脚选择、定义差分对的方法及其实现过程。提供了具体的硬件描述语言(HDL)代码示例,并推荐了几组经过验证的LVDS信号对。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

--How should I choose the pair of pins on the FPGA for my LVDS signal? 
Does the LDVS pair need to be something like: LXXP / LXXN, for example will this work on the Pipistrello?
LVDS pos -> WingA_1 -> IO_L51P_M1DQ12_1
LVDS neg -> WingB_14 -> IO_L51N_M1DQ13_1
or can any pair of FPGA pins make a differential pair? and how is that defined as one logic signal in a UCF file?

/////////////////////////////////////////////////////////////////////////////////////////////////////////////

Hi,


You want to look for a pair of pins that are part of differential input that are close together on the wing header.

In your constraints file you do this (this is on the Papilio Pro):
Code: [Select]
NET test_signal_p  LOC = "P51" | IOSTANDARD = LVDS_33;
NET test_signal_n  LOC = "P50" | IOSTANDARD = LVDS_33;

And then in you HDL you use a IBUFDS to convert the differential signals into the single ended signal used in the design:

Code: [Select]
library UNISIM;
use UNISIM.VComponents.all;

...

  -- Input buffer
i_IBUFDS : IBUFDS
   generic map (
      DIFF_TERM => FALSE,
      IBUF_LOW_PWR => TRUE,
      IOSTANDARD => "DEFAULT")
   port map (
      O  => test_signal,
      I  => test_signal_p,
      IB => test_signal_n
   );

Here are the four pairs I used for HDMI input (I know that it isn't the same as LVDS, but the pin locations are what you need....). Oh and due to PCB layout constraints some of the pairs are flipped around (with the _p connected to a N pin, and the _n connected to the P pin) - it would pay to cross-reference them with the datasheet - but here are four pairs that I can vouch for!

Code: [Select]
NET "hdmi_c2_p" LOC="P57";
NET "hdmi_c2_n" LOC="P58";

NET "hdmi_c1_p" LOC="P55";
NET "hdmi_c1_n" LOC="P56";

NET "hdmi_c0_p" LOC="P62";
NET "hdmi_c0_n" LOC="P61";
Code: [Select]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值