NetFPGA

From HW wiki
Jump to navigation Jump to search

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