FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2006, 06:31 PM
Brad Smallridge
Guest
 
Posts: n/a
Default Xilinx Virtex4 Outputs for Camera Link

Can anyone tell me what I need to drive a Camera Link
output directly from a V4? I have tried LVCMOS25 and I
can see differential signals at the outputs but at the
end of a 2 meter cable I see only DC differential levels
as if the signals are dampened somehow.

Brad Smallridge
aivision


Reply With Quote
  #2 (permalink)  
Old 10-26-2006, 09:31 PM
VC
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Brad Smallridge wrote:
> Can anyone tell me what I need to drive a Camera Link
> output directly from a V4? I have tried LVCMOS25 and I
> can see differential signals at the outputs but at the
> end of a 2 meter cable I see only DC differential levels
> as if the signals are dampened somehow.
>
> Brad Smallridge
> aivision


I think the Camera Link requires a LVDS I/O standard.

You may find the following link useful -
http://www.alacron.com/downloads/vnc...Link20v113.pdf

Hope this helps.

Reply With Quote
  #3 (permalink)  
Old 10-27-2006, 02:21 AM
bart
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

> I think the Camera Link requires a LVDS I/O standard.
>
> You may find the following link useful -
> http://www.alacron.com/downloads/vnc...Link20v113.pdf
>

Lattice has a reference design available for this 7:1 source
synchronous LVDS interface (also known as Channel Link, Flat Link, and
Camera Link).

Lattice's 7:1 LVDS Video Interface Reference Design has been optimized
for use with the LatticeECP2/M family of FPGAs. The reference design
implements standard 7:1 LVDS interfaces using the LatticeECP2/M I/O
structure. Transmit and receive interfaces are fully and efficiently
implemented by specifically taking advantage of dedicated LVDS I/O, the
generic DDR I/O interface, 2x gearing, and PLL clocking of edge and
system clocks. The entire design has been tested using a 7:1 LVDS
Display Demo system at speeds of 595MHz.

Detailed Information about the Reference Design and source code is
available here:
http://www.latticesemi.com/products/...rfaceforec.cfm

Hope this helps.
Bart Borosky, Lattice

Reply With Quote
  #4 (permalink)  
Old 10-27-2006, 05:19 AM
Rob
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Brad,

The V4 should have no trouble whatsoever driving a 2m camera link (3M MDR
type) cable. I currently have a design using a V2PRO30 that drives 5m of
cable. The differential pins are driven by the below module.

Take care,
Rob


module diff_outbuf_single(in, p_out, n_out);
input in;
output p_out;
output n_out;

OBUFDS inst1 (
.O(p_out), // Diff_p output(connect directly to top-level port)
.OB(n_out), // Diff_n output (connect directly to top-level port)
.I(in) // Buffer input
);

endmodule


"Brad Smallridge" <[email protected]> wrote in message
news:[email protected]..
> Can anyone tell me what I need to drive a Camera Link
> output directly from a V4? I have tried LVCMOS25 and I
> can see differential signals at the outputs but at the
> end of a 2 meter cable I see only DC differential levels
> as if the signals are dampened somehow.
>
> Brad Smallridge
> aivision
>
>



Reply With Quote
  #5 (permalink)  
Old 10-28-2006, 01:40 AM
Brad Smallridge
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link


> The V4 should have no trouble whatsoever driving a 2m camera link (3M MDR
> type) cable.


Yes I thought it was a no brainer.

>I currently have a design using a V2PRO30 that drives 5m of cable. The
>differential pins are driven by the below module.


I think my VHDL is similar. What is your FPGA editor showing
when you go to those pins? Mine shows two pads, a master and
a slave. When I push into these pads I don't see any options
checked. Do you have additional stuff in your UCF file?

Thanks,
Brad Smallridge

>
> Take care,
> Rob
>
>
> module diff_outbuf_single(in, p_out, n_out);
> input in;
> output p_out;
> output n_out;
>
> OBUFDS inst1 (
> .O(p_out), // Diff_p output(connect directly to top-level port)
> .OB(n_out), // Diff_n output (connect directly to top-level port)
> .I(in) // Buffer input
> );
>
> endmodule
>
>
> "Brad Smallridge" <[email protected]> wrote in message
> news:[email protected]..
>> Can anyone tell me what I need to drive a Camera Link
>> output directly from a V4? I have tried LVCMOS25 and I
>> can see differential signals at the outputs but at the
>> end of a 2 meter cable I see only DC differential levels
>> as if the signals are dampened somehow.
>>
>> Brad Smallridge
>> aivision
>>
>>

>
>



Reply With Quote
  #6 (permalink)  
Old 10-28-2006, 03:54 AM
Rob
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

I see the same thing you do within the editor, master and slave pads. Both
pads have an IO standard of LVDS_25. I have nothing else in my UCF file
pertaining to these pins.

Is you sure your bank voltage being powered by 2.5V?

"Brad Smallridge" <[email protected]> wrote in message
news:[email protected]..
>
>> The V4 should have no trouble whatsoever driving a 2m camera link (3M MDR
>> type) cable.

>
> Yes I thought it was a no brainer.
>
>>I currently have a design using a V2PRO30 that drives 5m of cable. The
>>differential pins are driven by the below module.

>
> I think my VHDL is similar. What is your FPGA editor showing
> when you go to those pins? Mine shows two pads, a master and
> a slave. When I push into these pads I don't see any options
> checked. Do you have additional stuff in your UCF file?
>
> Thanks,
> Brad Smallridge
>
>>
>> Take care,
>> Rob
>>
>>
>> module diff_outbuf_single(in, p_out, n_out);
>> input in;
>> output p_out;
>> output n_out;
>>
>> OBUFDS inst1 (
>> .O(p_out), // Diff_p output(connect directly to top-level port)
>> .OB(n_out), // Diff_n output (connect directly to top-level port)
>> .I(in) // Buffer input
>> );
>>
>> endmodule
>>
>>
>> "Brad Smallridge" <[email protected]> wrote in message
>> news:[email protected]..
>>> Can anyone tell me what I need to drive a Camera Link
>>> output directly from a V4? I have tried LVCMOS25 and I
>>> can see differential signals at the outputs but at the
>>> end of a 2 meter cable I see only DC differential levels
>>> as if the signals are dampened somehow.
>>>
>>> Brad Smallridge
>>> aivision
>>>
>>>

>>
>>

>
>



Reply With Quote
  #7 (permalink)  
Old 10-28-2006, 05:01 PM
Erik Widding
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Rob wrote:
> I see the same thing you do within the editor, master and slave pads. Both
> pads have an IO standard of LVDS_25. I have nothing else in my UCF file
> pertaining to these pins.
>
> >> "Brad Smallridge" <[email protected]> wrote in message
> >> news:[email protected]..
> >>> Can anyone tell me what I need to drive a Camera Link
> >>> output directly from a V4? I have tried LVCMOS25 and I
> >>> can see differential signals at the outputs but at the
> >>> end of a 2 meter cable I see only DC differential levels
> >>> as if the signals are dampened somehow.


Brad,

It is a good idea to explicitly call out IO standards in the UCF. I am
a fan of determinism. The LVCMOS25 default for a differential pair
*might* have to do with these signals being on low capacitance pins
(denoted "_LC_" in the pinout table) which do not support LVDS outputs.
If you call out LVDS in the UCF you *should* get an error if these are
the type of IO pins that your signals are attached to.

N.B. This is all conjecture, with the exception of the fact that the
low capacitance pins do not support LVDS outputs.


Regards,
Erik.

---
Erik Widding
President
Birger Engineering, Inc.

(mail) 100 Boylston St #1070; Boston, MA 02116
(voice) 617.695.9233
(fax) 617.695.9234
(web) http://www.birger.com

Reply With Quote
  #8 (permalink)  
Old 10-28-2006, 05:07 PM
Joseph Samson
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Brad Smallridge wrote:
> Can anyone tell me what I need to drive a Camera Link
> output directly from a V4? I have tried LVCMOS25 and I
> can see differential signals at the outputs but at the
> end of a 2 meter cable I see only DC differential levels
> as if the signals are dampened somehow.


I'm assuming that you meant the LVDS_25 driver. Don't forget the
LVD***T_25, which is meant for longer cable driving.


---
Joe Samson
Pixel Velocity
Reply With Quote
  #9 (permalink)  
Old 10-28-2006, 06:55 PM
Brad Smallridge
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Yipes, duh.

My problem is that I don't understand this cable and my
lines are mirrored.

Thanks, though, for all your help. I am sure it will work
when I connect the right signals.

Say, I was getting good results from a double edge clock
input circuit and a single DCM generating 140 MHz (40MHz
xclk). The trick was to select a shifted output depending
on the fast clock.

I was unable, however, to use a double edge clock circuit
on the output. The OSERDES does not have a 7x option and
when you try 8x you get 8x data bits no matter how you
drive the clkdiv input.

Do you have anysuggestions here?

Brad Smallridge
aivision




"Erik Widding" <[email protected]> wrote in message
news:[email protected] oups.com...
> Rob wrote:
>> I see the same thing you do within the editor, master and slave pads.
>> Both
>> pads have an IO standard of LVDS_25. I have nothing else in my UCF file
>> pertaining to these pins.
>>
>> >> "Brad Smallridge" <[email protected]> wrote in message
>> >> news:[email protected]..
>> >>> Can anyone tell me what I need to drive a Camera Link
>> >>> output directly from a V4? I have tried LVCMOS25 and I
>> >>> can see differential signals at the outputs but at the
>> >>> end of a 2 meter cable I see only DC differential levels
>> >>> as if the signals are dampened somehow.

>
> Brad,
>
> It is a good idea to explicitly call out IO standards in the UCF. I am
> a fan of determinism. The LVCMOS25 default for a differential pair
> *might* have to do with these signals being on low capacitance pins
> (denoted "_LC_" in the pinout table) which do not support LVDS outputs.
> If you call out LVDS in the UCF you *should* get an error if these are
> the type of IO pins that your signals are attached to.
>
> N.B. This is all conjecture, with the exception of the fact that the
> low capacitance pins do not support LVDS outputs.
>
>
> Regards,
> Erik.
>
> ---
> Erik Widding
> President
> Birger Engineering, Inc.
>
> (mail) 100 Boylston St #1070; Boston, MA 02116
> (voice) 617.695.9233
> (fax) 617.695.9234
> (web) http://www.birger.com
>



Reply With Quote
  #10 (permalink)  
Old 10-28-2006, 11:01 PM
Will Dean
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

"Brad Smallridge" <[email protected]> wrote in message
news:[email protected]..
>
> I was unable, however, to use a double edge clock circuit
> on the output. The OSERDES does not have a 7x option and
> when you try 8x you get 8x data bits no matter how you
> drive the clkdiv input.


Hi Brad, (You can now spend all evening wondering where I know you from...)

I can't shed any light on your Virtex problems, but I am interested as to
what leads you to bother with trying to do CameraLink with an FPGA, rather
than just using the appropriate NatSemi ChannelLink chip (I'm too lazy to
look up the number, but you know the one I mean.)

When everything about CameraLink is designed around those interface chips,
it has always seemed to me like unnecessarily hard work to reimplement their
behaviour elsewhere.

Is it cost, space or a sense of adventure which pushes you away from them in
this design?

Cheers,

Will



Reply With Quote
  #11 (permalink)  
Old 10-29-2006, 03:40 AM
Rob
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Will,

> Is it cost, space or a sense of adventure which pushes you away from them
> in this design?


I know you addressed this to Brad, but my answer would be all of the above.
I would counter your question with: if your design necessiates an FPGA, and
that FPGA is capabable of performing the deserialization, why would you use
the National chips? It might be more involved than letting the National
chips do it for you; but the big players in the FPGA market have prebuilt
modules fitted to the most standard Camera Link/Channel Link type
interfaces. Sure, if you have to build your own, it can get tricky with
setup/hold times, jitter, skew, and clock phasing--but what's life w/o
challenges?

Best regards,
Rob

"Will Dean" <[email protected]> wrote in message
news:4543c522$0$624$[email protected]..
> "Brad Smallridge" <[email protected]> wrote in message
> news:[email protected]..
>>
>> I was unable, however, to use a double edge clock circuit
>> on the output. The OSERDES does not have a 7x option and
>> when you try 8x you get 8x data bits no matter how you
>> drive the clkdiv input.

>
> Hi Brad, (You can now spend all evening wondering where I know you
> from...)
>
> I can't shed any light on your Virtex problems, but I am interested as to
> what leads you to bother with trying to do CameraLink with an FPGA, rather
> than just using the appropriate NatSemi ChannelLink chip (I'm too lazy to
> look up the number, but you know the one I mean.)
>
> When everything about CameraLink is designed around those interface chips,
> it has always seemed to me like unnecessarily hard work to reimplement
> their behaviour elsewhere.
>
> Is it cost, space or a sense of adventure which pushes you away from them
> in this design?
>
> Cheers,
>
> Will
>
>
>



Reply With Quote
  #12 (permalink)  
Old 10-29-2006, 05:53 PM
Erik Widding
Guest
 
Posts: n/a
Default Re: Xilinx Virtex4 Outputs for Camera Link

Brad Smallridge wrote:
> Say, I was getting good results from a double edge clock
> input circuit and a single DCM generating 140 MHz (40MHz
> xclk). The trick was to select a shifted output depending
> on the fast clock.
>
> I was unable, however, to use a double edge clock circuit
> on the output. The OSERDES does not have a 7x option and
> when you try 8x you get 8x data bits no matter how you
> drive the clkdiv input.
>
> Do you have anysuggestions here?


You already need to use an entire IO tile for each output pair, as you
are using a differential IO standard. As such you have two OSERDES
available for each pair. While you could use them together to get DDR
mode (as you have done), I would suggest using them cascaded in SDR x7
mode. The slowest speed grade of V4 will easily support 280MHz clock,
and IO, and no additional logic is required to determine pixel
boundary. This will sork up to the max clock rate of the DCM, which is
(IIRC) about 400MHz, or about a 57MHz pixel clock.


Regards,
Erik.

---
Erik Widding
President
Birger Engineering, Inc.

(mail) 100 Boylston St #1070; Boston, MA 02116
(voice) 617.695.9233
(fax) 617.695.9234
(web) http://www.birger.com

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera link specification [email protected] FPGA 7 10-25-2006 03:06 PM
USB2 camera to Xilinx ML40x boards Brad Smallridge FPGA 7 05-17-2006 11:48 PM
Issues with Xilinx xapp635: Interface for TigerSharc Link Ports. Brijesh FPGA 6 07-05-2005 06:57 AM
OD/OC outputs with Xilinx Spartan II Christian E. Boehme FPGA 4 09-09-2004 10:29 AM
Channel Link signals into Xilinx Brad Smallridge FPGA 3 08-31-2004 12:42 PM


All times are GMT +1. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved