Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > LVDS Spartan3 VHDL

Reply
Thread Tools

LVDS Spartan3 VHDL

 
 
HollandProjects@gmail.com
Guest
Posts: n/a
 
      04-18-2008
Hi,

I have absolutely no experience using LVDS.
I am unsure how to go about using LVDS.
I have seen a few examples on the web, but I keep getting errors.

All I am looking for is a simple sample.

I don't know if I have to use components
U1: OBUFDS
port map (
I => data_out,
O => data_out_P,
OB => data_out_N
);


Do I have to add something to the UCF file?
NET "data_out_P" LOC = "D1" | IOSTANDARD = LVDSEXT_25;
#"ybus<51>"
NET "data_out_N" LOC = "D2" | IOSTANDARD = LVDSEXT_25;
#"ybus<52>"

Or just use it?
process(ti_clk)
begin
if(rising_edge(ti_clk)) then
data_out_P <= data_out;
data_out_N <= not data_out;
data_out <= not data_out;
end if;
end process;

TIA,
 
Reply With Quote
 
 
 
 
Thomas Rouam
Guest
Posts: n/a
 
      04-19-2008
On Apr 18, 4:16*pm, HollandProje...@gmail.com wrote:
> Hi,
>
> I have absolutely no experience using LVDS.
> I am unsure how to go about using LVDS.
> I have seen a few examples on the web, but I keep getting errors.
>
> All I am looking for is a simple sample.
>
> I don't know if I have to use components
> U1: OBUFDS
> port map (
> I => data_out,
> O => data_out_P,
> OB => data_out_N
> );
>
> Do I have to add something to the UCF file?
> NET "data_out_P" * * *LOC = "D1" *| IOSTANDARD = LVDSEXT_25;
> #"ybus<51>"
> NET "data_out_N" * * *LOC = "D2" | IOSTANDARD = LVDSEXT_25;
> #"ybus<52>"
>
> Or just use it?
> process(ti_clk)
> begin
> * * * * if(rising_edge(ti_clk)) then
> * * * * * * * * data_out_P <= data_out;
> * * * * * * * * data_out_N <= not data_out;
> * * * * * * * * data_out <= not data_out;
> * * * * end if;
> end process;
>
> TIA,


Hi,

LVDS is an electric standard that carries on two distinct wires the
data you want and its opposite, to make the story short. You have to
tell ISE to use that IO Standard. Different ways are possible but the
ucf example you have put is good.
You do not have access to both signals (_P and _N). The OBUFDS creates
the differential pair for you. The OBUFDS you have instantiated is the
way to go. Therefore you just have to drive that data_out signal that
is feeding the OBUFDS. Never do what you have written below, you'll
always get error messages.

Thomas.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warnings DCM Spartan3 u_stadler@yahoo.de VHDL 1 01-03-2006 09:44 AM
Configuration Spartan3 1000 bittor VHDL 1 01-03-2005 05:04 PM
Need help implementing a proj on SPARTAN3 Riccardo Fregonese VHDL 2 01-03-2005 01:21 PM
VHDL code of PLL and LVDS-receiver for FLEX10K Altera PLD spiderman_astig VHDL 3 02-06-2004 05:03 AM
lvds signal in a stratix bhb VHDL 0 07-01-2003 07:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57