aceblen Posted November 27, 2023 Share Posted November 27, 2023 Hello, I am very new to FPGAs and have a basys 3 Artix 7 board. I am trying to figure out how to access the pmod pins within VHDL code. So I can generate a PWM signal and control a DC motor. Any help with this would be awesome. Link to comment Share on other sites More sharing options...
0 artvvb Posted November 29, 2023 Share Posted November 29, 2023 Hi @aceblen Please check this guide: https://digilent.com/reference/programmable-logic/guides/getting-started-with-vivado. Any top-level ports in your design can be wired to a Pmod port by constraining them to the associated FPGA pins. The section of the guide on adding an XDC file to your project will cover how to do this. The guide presents Verilog, but the process is the same for VHDL - add a template constraint file, take the name of a top-level port in your VHDL source, and replace the name of a Pmod pin in the get_ports call on the line that corresponds to the Pmod pin, and uncomment the line. Thanks, Arthur Link to comment Share on other sites More sharing options...
Question
aceblen
Hello, I am very new to FPGAs and have a basys 3 Artix 7 board. I am trying to figure out how to access the pmod pins within VHDL code. So I can generate a PWM signal and control a DC motor. Any help with this would be awesome.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now