adamwalker / starty

Arty FPGA board starter project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arty starter project template

A project template for the Arty FPGA development board.

Uses Vivado "non-project" mode. This means it is built entirely from the command line. There is no need to open the Vivado GUI.

Building is as easy as:

$ vivado -mode batch -nojournal -source compile.tcl

Once that completes, the bitstream and DCPs can be found in the "outputs" directory.

Programming

$ cd program
$ ./program.sh

Functionality

  • System clock + buffer
  • GPIO (switches, buttons, LEDs)
  • 100M Ethernet
  • VIOs (Virtual IOs)
  • Chipscope
  • Xilinx XPM modules
  • DDR3 memory

The design flashes the LEDs in a pattern determined by the switches and buttons. It also loops back Ethernet packets via a FIFO in DDR memory.

The signals from the Ethernet phy RX side are captured by chipscope and the packet rx count is available from the VIO.

See the basic-ethernet branch for a cut down version.

Software

The "software" directory contains an application to test the Ethernet loopback. Build and run with:

$ make
$ sudo ./loopback <interface>

See also

https://github.com/ZipCPU/openarty

About

Arty FPGA board starter project


Languages

Language:Verilog 68.2%Language:Tcl 22.3%Language:C 8.1%Language:Shell 1.2%Language:Makefile 0.2%