UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
909 Views
Registered: ‎02-27-2018

Communicating to the FPGA via a computer

I have to design an FPGA that will have to take some parameters from a computer.

I need to communicate with a FPGA via a computer to set the values of registers inside the FPGA.

The FPGA will have to deserialize a bitstream and the serializing factor depends on the configuration that is set by the computer.

Is it possible on the 7 series FPGA?

0 Kudos
3 Replies
Scholar jmcclusk
Scholar
905 Views
Registered: ‎02-24-2014

Re: Communicating to the FPGA via a computer

There are many paths, but probably the simplest is with a UART.   you can use a CP2102 interface device that appears to the computer as a serial port (COM3, COM4, etc) while still using a USB cable.  In the FPGA, a simple UART core can be added, either standalone with a finite state machine to interpret characters, or a microblaze design, running actual C code.

Don't forget to close a thread when possible by accepting a post as a solution.
Explorer
Explorer
858 Views
Registered: ‎06-08-2017

Re: Communicating to the FPGA via a computer

It's not the most elegant solution, but here's what we are doing at the moment. We have a program that can program an arbitrary waveform onto a function generator (we use a DS345). This is our serial data. The FPGA outputs a trigger over one digital IO, and receives the serial data over another digital IO. The "deserializer" is just a serial to parallel shift register on the FPGA, and I take the bits from the proper place in my deserialized bitstream and assign them to my reg values. Works fine at 100kHz.

0 Kudos
Explorer
Explorer
835 Views
Registered: ‎02-27-2018

Re: Communicating to the FPGA via a computer

Thanks i am going to use a 7 series FPGA, so to communicate with the PC using an UART there has to be an USB port on the FPGA right?

0 Kudos