This is an old revision of the document!
CmodA7 Stopwatch - WIP
Overview
This Page is a WIP. Information will change
images/video
Prerequisites
Follow the CmodA7 GPIO Demo
Software
- Vivado
Hardware
- CmodA7-15T or CmodA7-35T
- Four Digit 7-segment Display
- Breadboard
- Jumper Wires
Procedure
Wiring the CmodA7 to the 7-segment Display
This step may be different depending on your 7-segment display. The one used in this project has the following pinout:
For more information on Seven-Segment Displays see the Nexys 4 DDR Wiki section on them.
|
Programming the CmodA7
From Vivado open the Hardware Manager and open a target.
There are two options for programming the CmodA7:
1. JTAG
This will program the FPGA directly, the program will not run after a power cycle.
Download the BIT file for your board: CmodA7-15T CmodA7-35T
In the Hardware Manager click Program device (in the green bar) then the device to program from the drop-down. Select the bit file and click program. Once the programming window closes the board is ready.
2. QUAD-SPI
This will program the on-board flash memory, the program will run after a power cycle.
Download the BIN file for your board: CmodA7-15T CmodA7-35T
In the Program Manager right click on the device and click Add Configuration Memory Device.
In the next window select the n25q32-3.3v-spix1_x2_x4 device and click OK in the next window to program the device now.
Select the BIN file that was downloaded above and click OK.
The flash will be programmed and will need to be power cycled in order to load the program from the memory.
Operation
To start the stopwatch press BTN0. To stop and reset the stopwatch press BTN1.