NetFPGA: Difference between revisions
$ |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
See also another device https://github.com/NetFPGA/NetFPGA-public/wiki | See also another device https://github.com/NetFPGA/NetFPGA-public/wiki | ||
== Requirements == | |||
$ sudo apt-get install git make gcc g++ lrzsz minicom libusb-dev | |||
libc6.i386 scapy fxload linux-source vim libusb-1.0 | |||
== Getting Started Guide == | == Getting Started Guide == | ||
| Line 15: | Line 19: | ||
I recommend to use ISE 14.6. Install it without Cable driver. | I recommend to use ISE 14.6. Install it without Cable driver. | ||
You can use Vivado as well. Using Vivado there doesn't problem with programing NetFPGA over USB-JTAG. | You can use Vivado as well. Using Vivado there doesn't exist a problem with programing NetFPGA over USB-JTAG. | ||
=== JTAG Cable === | === JTAG Cable === | ||
| Line 33: | Line 35: | ||
$ XILINX/bin/lin64/setup_usb | $ XILINX/bin/lin64/setup_usb | ||
Install digilent's tools, You have to install configuration file ". | Install digilent's tools, You have to install configuration file ".cse/" to your home directory: | ||
$ XILINX/bin/lin64/digilent/install_digilent.sh | $ XILINX/bin/lin64/digilent/install_digilent.sh | ||
| Line 48: | Line 50: | ||
$ git clone https://github.com/NetFPGA/NetFPGA-1G-CML-live.git | $ git clone https://github.com/NetFPGA/NetFPGA-1G-CML-live.git | ||
Set path to your repository: | Set path to your repository and compile PCIe driver: | ||
$ source bashrc_addon_NetFPGA_10G | $ source bashrc_addon_NetFPGA_10G | ||
$ cd $NF_DESIGN_DIR/sw/host/driver | $ cd $NF_DESIGN_DIR/sw/host/driver | ||
$ sudo apt-get install linux-headers-$(uname -r) | |||
$ make | $ make | ||
$ sudo insmod nf10.ko | $ sudo insmod nf10.ko | ||
Latest revision as of 11:59, 22 February 2016
This page describes "NetFPGA".
Following instructions are verified on these systems:
- Debian Jessie - 64-bit
See also https://github.com/NetFPGA/NetFPGA-public/wiki/Home_NetFPGA-1G-CML
See also another device https://github.com/NetFPGA/NetFPGA-public/wiki
Requirements
$ sudo apt-get install git make gcc g++ lrzsz minicom libusb-dev libc6.i386 scapy fxload linux-source vim libusb-1.0
Getting Started Guide
System Requirements
I recommend to use ISE 14.6. Install it without Cable driver. You can use Vivado as well. Using Vivado there doesn't exist a problem with programing NetFPGA over USB-JTAG.
JTAG Cable
Don't do this steps if you want to program your device by using Vivado.
Installation of drivers and libraries:
Add the Xilinx tools to your environment PATH by sourcing the settings64.sh script in the Xilinx installation location:
$ source /opt/Xilinx/14.6/ISE_DS/settings64.sh
Install libs for XUP USB-JTAG:
$ XILINX/bin/lin64/setup_usb
Install digilent's tools, You have to install configuration file ".cse/" to your home directory:
$ XILINX/bin/lin64/digilent/install_digilent.sh
Fix rights in rules of the udev.
At this moment I don't know importance of open drivers for Xilinx from Michael Germoth http://www.rmdir.de/~michael/xilinx/ .
NetFPGA Ethernet driver
If you have connected NetFPGA over PCIe you can use drivers for Ethernet interfaces.
Clone this repository:
$ git clone https://github.com/NetFPGA/NetFPGA-1G-CML-live.git
Set path to your repository and compile PCIe driver:
$ source bashrc_addon_NetFPGA_10G $ cd $NF_DESIGN_DIR/sw/host/driver $ sudo apt-get install linux-headers-$(uname -r) $ make $ sudo insmod nf10.ko