Page 1 of 1

FPGA Programming

Posted: Wed Jun 05, 2019 10:02 am
by Carlos
Hi,
I'm new to FPGA programming. I would like to make a modification in the FPGA code of the Red Pitaya to include a new functionality to control PaP motors. It's possible? Are there any logical blocks to include this code (is it simple)? without modifying any functionality of the Red Pitaya.

Thanks.
Carlos.

Re: FPGA Programming

Posted: Thu Jun 27, 2019 6:09 pm
by jmadsenee
Hi Carlos,

There are some awesome tutorials on FPGA programming by Anton Potocnik: http://antonpotocnik.com/?cat=29. I totally rewrote the FPGA code that runs in my RP and load it at the beginning of my program with

Code: Select all

system("cat /opt/redpitaya/fpga/UscopeV0.04.bit > /dev/xdevcfg");
If you can get the original Vivado design files for the RP FPGA you can modify that. Or maybe load your FPGA code, use it, then reload the original when done.

Good luck.

John

Re: FPGA Programming

Posted: Tue Jul 02, 2019 12:12 pm
by Carlos
Thanks!!!