The purpose of this lab is to introduce you to the NEXYS4 DDR FPGA development board and a software environment that will allow you to design a hardware system in VHDL, synthesize your design to create an FPGA configuration file, download the configuration file on to an FPGA and then run the configured FPGA to achieve the desired hardware functionality.
Connecting and Testing the Nexys Board :
- Connect the board to your machine using the supplied USB cord and turn the power switch on.
- Start the Adept Software
- Software can be found here
- Select the Test tab and click Start Test
- Ensure that all tests are marked as pass
- Start the Vivado program
- This group used Vivado 2018.2
- Create a New Project and name is leddec
- File -> New Project
- Leave Project type as RTL and do not specify sources as this time
- Default part is XC7A100TCSG324
- This team chose XC7A100TCSG324-1 as the default part
- Now create a new VHDL source
- File -> Add Sources
- Select "Add or create design sources" and Next
- Click the "+" and then "Create File"
- Ensure the File Type is set to VHDL and name the file "leddec"
- Replace the default code with the code in leddec.vhd.pdf
- Click Run Synthesis and allow it to finish
- Next create a constraint file
- File -> Add Sources
- Select "Add or create constraints" and Next
- Click the "+" and then "Create File"
- Ensure the File Type is set to XDC and name the file "leddec.xdc"
- Replace the default code with the code in leddec.xdc.pdf
- Click Run Implementation and allow it to finish
- Once the Implementation is finished, select Generate Bitstream
- Plug in the device if it is not already and Vivado should detect the board
- Click program device and load the generated bitstream onto the board
- Start the Vivado program
- This group used Vivado 2018.2
- Create a New Project and name is hexcounter
- File -> New Project
- Leave Project type as RTL and do not specify sources as this time
- Default part is XC7A100TCSG324
- This team chose XC7A100TCSG324-1 as the default part
- Now create a new VHDL source and add the existing leddec.vhd
- File -> Add Sources
- Select "Add or create design sources" and Next
- Click the "+" and then "Add files"
- Select leddec.vhd from where it is stored on your machine (should be in the sources folder.
- Click finish
- Then Create two new VHDL files (in similar to step 3 but click "Create files")
- The first should be named counter.vhd and should contain the code from counter.vhd.pdf
- The second file should be named hexcount.vhd and should contain the code from hexcount.vhd.pdf
- Once this file is created, look for it in the sources window and right click it.
- If the file is not already Set as Top click that option
- Next create a constraint file
- File -> Add Sources
- Select "Add or create constraints" and Next
- Click the "+" and then "Create File"
- Ensure the File Type is set to XDC and name the file "hexcount.xdc"
- Replace the default code with the code in hexcount.xdc.pdf
- Click Run Synthesis and allow it to finish (status on top right of window)
- Click Run Implementation and allow it to finish
- Once the Implementation is finished, select Generate Bitstream
- Plug in the device if it is not already and Vivado should detect the board
- Click program device and load the generated bitstream onto the board
How to set up the bitstream:
http://users.wpi.edu/~rjduck/Nexys4DDR%20Vivado%20VHDL%20Decoder%20Tutorial.pdf
How to Connect The Nexys A7 to your computer:
https://github.com/Digilent/Nexys-A7-100T-GPIO
Dr. Ackland's Lab Manual:
http://personal.stevens.edu/~backland/Courses/Course487_Spring_18_files/Labs/Lab1.pdf
GitHub:
https://github.com/kevinwlu/dsd