Code: Select all
root@raspberrypi:/home/ashwith/fpgalink/libfpgalink-20120621# ./linux.armel/rel/flcli -i 1443:0007 -v 1443:0007 -x gen_csvf/ex_cksum_nexys3_fx2_vhdl.csvf Attempting to open connection to FPGALink device 1443:0007... Playing "gen_csvf/ex_cksum_nexys3_fx2_vhdl.csvf" into the JTAG chain on FPGALink device 1443:0007... root@raspberrypi:/home/ashwith/fpgalink/libfpgalink-20120621# time ./linux.armel/rel/flcli -v 1443:0007 -a 'r0 0x2000000 "bigFile.dat"' Attempting to open connection to FPGALink device 1443:0007... Executing CommFPGA actions on FPGALink device 1443:0007... real 0m5.468s user 0m0.040s sys 0m0.940s root@raspberrypi:/home/ashwith/fpgalink/libfpgalink-20120621# time ./linux.armel/rel/flcli -v 1443:0007 -a 'w0 "bigFile.dat"' Attempting to open connection to FPGALink device 1443:0007... Executing CommFPGA actions on FPGALink device 1443:0007... real 0m1.794s user 0m0.060s sys 0m0.570s
Like said, no need to use USB, you can program PROM and FPGA's via JTAG, which the raspberry handles really well, only the bitstream is the problem, which requires a PC/Mac to make, then just ftp to raspberry and run program on it.prophet36 wrote:Unless you convinced an FPGA vendor to build their tools for ARM, or used an emulation layer to run the x86 synthesis tools on ARM, you're out of luck. The former is unlikely and the latter would take all day to synthesise even a simple design. You could probably run GHDL and maybe GTKWave on a Raspberry Pi, so you could do simulation work, but not synthesis.
However, there is nothing stopping you synthesising several designs on a PC and then loading the resulting bunch of bitstreams to a Raspberry Pi. The Pi could then load them into the FPGA over USB when needed, using FPGALink. You would not even have to switch SD cards to get a new design. You could even install the Pi+FPGA in a remote location and load new designs into the FPGA over the Internet.
This board I designed recently doesn't fit the usual definition of "shield" (i.e different form-factor, not "pluggable"), but it's cheap, open-source hardware and known to be compatible with the Raspberry Pi:
MakeStuff LX9 PCB
MakeStuff LX9 blinky
MakeStuff LX9 speed test
It has a Xilinx XC6SLX9 FPGA, 16MiB of SDRAM, a 1Mib EEPROM, an SD-card slot and about 50 general-purpose I/Os. You can access the FPGA's JTAG for programming and the general-purpose high-speed FIFO interface over USB.
For small runs, each populated board costs about £30.
Users browsing this forum: No registered users and 13 guests