GithubHelp home page GithubHelp logo

ter-zybo / pmodenc_vhdl Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.43 MB

Custom VHDL to display the value on 4 LEDs on the board depending on the Pmod ENC encoder

Home Page: https://ter-zybo.github.io/Documentations/docs/pmodenc_vhdl/

Pascal 0.87% JavaScript 36.36% Shell 12.72% Tcl 38.99% Batchfile 1.09% PureBasic 0.11% VHDL 9.86%
vivado rotary-encoder

pmodenc_vhdl's Introduction

VHDL Project: Counter Control with PMODENC Rotary Encoder and LED Display

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.

Prerequisites

  • Xilinx Vivado Design Suite
  • Zybo Z7-20 FPGA board
  • PMODENC rotary encoder

How to Use

Opening the Project in Vivado

  1. Launch Vivado:

    • Open Xilinx Vivado Design Suite on your computer.
  2. Open the Existing Project:

    • Go to File > Open Project.
    • Navigate to the Vivado_Project directory and select the project file to open.

Building the Project

  1. Generate the Bitstream:
    • click on Generate Bitstream.

Programming the FPGA

  1. Connect the FPGA Board:

    • Connect the Zybo Z7-20 FPGA board to your computer using a USB cable.
  2. Program the Device:

    • In Vivado, go to Open Hardware Manager and click on Open Target > Auto Connect.
    • Click on Program Device and select the generated bitstream file to program the FPGA.

Running the Application

  1. Connect the PMODENC:

    • Attach the PMODENC rotary encoder to the appropriate PMOD connector on the Zybo Z7-20 FPGA board.
  2. Observe LED Display:

    • Rotate the PMODENC rotary encoder.
    • The counter value will be displayed on the 4 LEDs on the Zybo Z7-20 board.

References

This project is inspired by the Nexys 3 VHDL Example - ISE 14.2 guide from Digilent.

pmodenc_vhdl's People

Contributors

hdwayne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.