Forums

Does UART is inbuild in FPGA

Started by leenaselvam February 6, 2008
Is there UART in FPGA or whether UART has to be connnect externally..and
how can we send information from FPGA through UART to Ethernet........can
anyone give guidence for writing coding either in VHDL or in Verilog for
sending information from FPGA to Ethernet through UART


On 2008-02-06, leenaselvam <lourdes_selvaraj1986@yahoo.co.in> wrote:

> Is there UART in FPGA
There is if you program one into it.
> or whether UART has to be connnect externally..
Could be.
> and how can we send information from FPGA through UART to > Ethernet.
You need a serial->Ethernet gateway of some sort.
> .......
You also need to get your '.' key fixed.
> can anyone give guidence for writing coding either in VHDL or > in Verilog for sending information from FPGA to Ethernet > through UART.
I'm sure somebody probably can. -- Grant Edwards grante Yow! ... this must be what at it's like to be a COLLEGE visi.com GRADUATE!!
"leenaselvam" <lourdes_selvaraj1986@yahoo.co.in> wrote in message 
news:_7OdnQr-CMZOhzfanZ2dnUVZ_hisnZ2d@giganews.com...
> Is there UART in FPGA or whether UART has to be connnect externally..and > how can we send information from FPGA through UART to Ethernet........can > anyone give guidence for writing coding either in VHDL or in Verilog for > sending information from FPGA to Ethernet through UART >
If you want to go to Ethernet why go through a UART? There are UART-Ethernet gateways but it might be better to interface an Ethernet chip to the FPGA. Altera has development systems with both UARTs and Ethernet hooked to the FPGA. The other major vendors probably have the same thing. Andrew
On Wed, 06 Feb 2008 14:38:43 -0600, leenaselvam wrote:

> Is there UART in FPGA or whether UART has to be connnect externally.
FPGAs don't come with UARTs, but you can easily make an asynchronous serial interface on an FPGA. It's much easier (and uses less logic) to take the "universal" out of the UART and design for a fixed baud rate, data bits, start & stop length, etc. You can also connect a UART externally, of course, although if you don't have a processor in your system already you may use more logic getting it initialized than you would rolling your own.
> .and > how can we send information from FPGA through UART to > Ethernet.
Now that's an interesting question. UARTs aren't remotely compatible with Ethernet, so if you really want to have asynchronous serial coming out of your FPGA and Ethernet coming off your board you'll need to get or make an interface. There are chips and sub-boards that you can buy that'll interface between Ethernet and serial; you could use one of those.
> .......can anyone give guidence for writing coding either in > VHDL or in Verilog for sending information from FPGA to Ethernet through > UART
Yes: 1. Understand all parts of the problem. 2. Understand how to implement logic in Verilog or VHDL. 3. Get cracking! (1a -- learn all parts of the problem). (2a -- learn the HDL of your choice). -- Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html