LED blinker
Introduction
For my experiments with the USB104 A7 board, I’d like to have the following development environment:
- recent version of the Vitis Core Development Kit
- recent version of the Debian distribution on the development machine
- basic project with all the USB104 A7 peripherals connected
- mostly command-line tools
- shallow directory structure
Here is how I set it all up.
Pre-requirements
My development machine has the following installed:
- Debian 11.6 (amd64)
- Vitis Core Development Kit 2020.2
Here are the commands to install all the other required packages:
Source code
The source code is available at
https://github.com/pavel-demin/usb104-a7-notes
This repository contains the following components:
- Makefile that builds everything (almost)
- cfg directory with constraints and board definition files
- cores directory with IP cores written in Verilog
- projects directory with Vivado projects written in Tcl
- scripts directory with Tcl scripts for Vivado
Getting started
Setting up the Vitis and Vivado environment:
Cloning the source code repository:
Building led_blinker.bit
:
Configuring the FPGA:
Reprogramming FPGA
It is possible to reprogram the FPGA using the xc3sprog
program: