uwsampa/kintex7-pcie-reference

Name: kintex7-pcie-reference

Owner: Sampa

Description: null

Created: 2017-03-28 22:58:59.0

Updated: 2018-05-23 10:41:09.0

Pushed: 2017-04-07 23:18:49.0

Homepage: null

Size: 58

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Kintex 7 PCIe Reference Design

(TODO better description)

  1. Build the driver in software/driver and copy the provided driver rules from the etc directory to the /etc/ directory on your system with cp ../etc/udev/rules.d/* /etc/udev/rules.d/
  2. Build the hardware with make remake-board and program the board over jtag with make program
  3. Load the driver after reboot with sudo ./load_driver.sh (in the software folder)
  4. Test FPGA design with python test_harness.py (in the software folder)

A trimmed down verison of this reference design:

Important changes to get the reference driver to build:

  1. In driver/xdma/xdma_base.c file replace all of __dev prefixes with __ (for example __devinit –> __init, __devexit –> __exit)

  2. In driver/xrawdata0/Makefile and driver/xrawdata1/Makefile add this line to end of file: KBUILD_EXTRA_SYMBOLS := $(src)/../xdma/Module.symvers

  3. Change device number to 0x7042 in driver/xdma/xdma_base.c.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.