This project demonstrates how to build a VHDL-based design using Xilinx Vivado to control a counter with a PMODENC rotary encoder. The counter's value is displayed on 4 LEDs on the Zybo Z7-20 FPGA board.
- Xilinx Vivado Design Suite
- Zybo Z7-20 FPGA board
- PMODENC rotary encoder
-
Launch Vivado:
- Open Xilinx Vivado Design Suite on your computer.
-
Open the Existing Project:
- Go to
File > Open Project
. - Navigate to the
Vivado_Project
directory and select the project file to open.
- Go to
- Generate the Bitstream:
- click on
Generate Bitstream
.
- click on
-
Connect the FPGA Board:
- Connect the Zybo Z7-20 FPGA board to your computer using a USB cable.
-
Program the Device:
- In Vivado, go to
Open Hardware Manager
and click onOpen Target > Auto Connect
. - Click on
Program Device
and select the generated bitstream file to program the FPGA.
- In Vivado, go to
-
Connect the PMODENC:
- Attach the PMODENC rotary encoder to the appropriate PMOD connector on the Zybo Z7-20 FPGA board.
-
Observe LED Display:
- Rotate the PMODENC rotary encoder.
- The counter value will be displayed on the 4 LEDs on the Zybo Z7-20 board.
This project is inspired by the Nexys 3 VHDL Example - ISE 14.2 guide from Digilent.