Skip to content

Commit

Permalink
Upgraded to Vivado 2020.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibraim committed Jul 16, 2020
1 parent 5d8ca77 commit de2393e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ Description
--------------
This project is a a simple Vivado demo using the Cmod S7-25's LEDs, RGB LED, buttons, and USB-UART bridge, written in Verilog. When programmed onto a Cmod S7, the demo will cycle the board's RGB LED from Blue to Green to Red to Black. The other LEDs will light up in sequence.

To use the USB-UART bridge feature of this demo, the Basys 3 must be connected to a serial terminal on the computer it is connected to over the MicroUSB cable. For more information on how to set up and use a serial terminal, such as Tera Term or PuTTY, refer to [this tutorial](https://reference.digilentinc.com/learn/programmable-logic/tutorials/tera-term). Whenever one of the two buttons is pressed, "Button # Pressed!" is sent to the computer using the USB-UART bridge.
To use the USB-UART bridge feature of this demo, the Cmod-S7-25 must be connected to a serial terminal on the computer it is connected to over the MicroUSB cable. For more information on how to set up and use a serial terminal, such as Tera Term or PuTTY, refer to [this tutorial](https://reference.digilentinc.com/learn/programmable-logic/tutorials/tera-term). Whenever one of the two buttons is pressed, "Button # Pressed!" is sent to the computer using the USB-UART bridge.

Requirements
--------------
* **Cmod S7-25**: To purchase a Cmod S7, see the [Digilent Store](https://store.digilentinc.com/cmod-s7-breadboardable-spartan-7-fpga-module/)
* **Vivado 2018.2 Installation**: To set up Vivado, see the [Installing Vivado and Digilent Board Files Tutorial](https://reference.digilentinc.com/vivado/installing-vivado/start).
* **Vivado 2020.1 Installation**: To set up Vivado, see the [Installing Vivado and Digilent Board Files Tutorial](https://reference.digilentinc.com/vivado/installing-vivado/start).
* **Serial Terminal Emulator Application**: For more information see the [Installating and Using a Terminal Emulator Tutorial](https://reference.digilentinc.com/learn/programmable-logic/tutorials/tera-term).
* **MicroUSB Cable**

Demo Setup
--------------
1. Download and extract the most recent release ZIP archive from this repository's [Releases Page](https://github.com/Digilent/Cmod-S7-25-OOB/releases).
2. Open the project in Vivado 2018.2 by double clicking on the included XPR file found at "\<archive extracted location\>/vivado_proj/Cmod-S7-25-OOB.xpr".
2. Open the project in Vivado 2020.1 by double clicking on the included XPR file found at "\<archive extracted location\>/vivado_proj/Cmod-S7-25-OOB.xpr".
3. In the Flow Navigator panel on the left side of the Vivado window, click **Open Hardware Manager**.
4. Plug the Cmod S7 into the computer running Vivado using a MicroUSB cable.
5. Open a serial terminal emulator (such as TeraTerm) and connect it to the Cmod S7's serial port, using a baud rate of 9600.
Expand Down
2 changes: 1 addition & 1 deletion digilent-vivado-scripts
12 changes: 11 additions & 1 deletion project_info.tcl
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# This is an automatically generated file used by digilent_vivado_checkout.tcl to set project options
proc set_digilent_project_properties {proj_name} {
proc set_project_properties_post_create_project {proj_name} {
set project_obj [get_projects $proj_name]
set_property "part" "xc7s25csga225-1" $project_obj
set_property "board_part" "digilentinc.com:cmod-s7-25:part0:1.0" $project_obj
set_property "default_lib" "xil_defaultlib" $project_obj
set_property "simulator_language" "Mixed" $project_obj
set_property "target_language" "Verilog" $project_obj
}

proc set_project_properties_pre_add_repo {proj_name} {
set project_obj [get_projects $proj_name]
# default nothing
}

proc set_project_properties_post_create_runs {proj_name} {
set project_obj [get_projects $proj_name]
# default nothing
}

0 comments on commit de2393e

Please sign in to comment.