Skip to content

This project is a digital design project that implements a simple programmable stepper motor controller using the Verilog hardware description language (HDL) and the Basys 3 FPGA development board. The project is designed to be an educational resource for students and hobbyists interested in learning about digital design and FPGA programming.

License

Notifications You must be signed in to change notification settings

Feanor1021/PMODE_Step_VerilogHDL_Basys3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMODE Step VerilogHDL Basys3

Basys3 Board

This project contains the Verilog HDL code for implementing a PMODE step on the Basys3 FPGA development board.

Overview

The PMODE step is a useful circuit for controlling the direction of rotation of a stepper motor. The PMODE step circuit consists of four switches (SW0-SW3) and four output pins (LED0-LED3). When the switches are pressed in a particular sequence, the corresponding LED pins will light up in a particular sequence. This sequence of LED pin activations determines the direction and speed of the stepper motor.

PMODE Step Circuit

Design

The PMODE step circuit is implemented using Verilog HDL. The design consists of a state machine that controls the behavior of the circuit based on the input from the four switches. The state machine has four states, each corresponding to a particular sequence of LED pin activations. The state machine transitions between these states based on the input from the switches.

The Verilog HDL code is written to be compatible with the Basys3 FPGA development board. The input signals are read from the switches and the output signals are written to the LED pins on the board.

Usage

To use this Verilog HDL code on the Basys3 FPGA development board, follow these steps:

  1. Clone or download this repository.
  2. Open the project in a Verilog HDL synthesis tool such as Xilinx Vivado or Intel Quartus Prime.
  3. Synthesize the design and generate the bitstream.
  4. Program the bitstream onto the Basys3 FPGA development board.

Once the bitstream has been programmed onto the board, you can test the circuit by pressing the switches in the appropriate sequence and observing the LED pins.

Credits

This project was developed by Feanor1021. The author would like to acknowledge the contributions of the Xilinx Vivado and Intel Quartus Prime tools to this project.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This project is a digital design project that implements a simple programmable stepper motor controller using the Verilog hardware description language (HDL) and the Basys 3 FPGA development board. The project is designed to be an educational resource for students and hobbyists interested in learning about digital design and FPGA programming.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published