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.
$ cd program
$ ./program.sh
- 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.
The "software" directory contains an application to test the Ethernet loopback. Build and run with:
$ make
$ sudo ./loopback <interface>