This project is a simple Verilog demo using the Cmod S7-25's LEDs, RGB LED, buttons, and USB-UART bridge. When programmed onto a board, the RGB LED will cycle from Blue to Green to Red to Black. The other LEDs will light up in sequence. Whenever one of the two buttons is pressed, "Button # Pressed!" is sent to a connected PC using the USB-UART bridge.
- Cmod S7-25: Store Link
- Vivado 2018.2 Installation: See Installing Vivado and Digilent Board Files Tutorial to learn how to get Vivado.
- Serial Terminal Emulator: See Installation and Using a Terminal Emulator Tutorial for more information.
- MicroUSB Cable: For programming the Cmod S7
- Download and extract the most recent release ZIP archive from this repository's Releases Page.
- 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".
- In the Flow Navigator panel on the left side of the Vivado window, click Open Hardware Manager.
- Plug a Cmod S7-25 into the computer running Vivado using a MicroUSB cable.
- Open a serial terminal application (such as TeraTerm) and connect it to the Cmod S7's serial port, using a baud rate of 9600.
- Click "Open target" in the green bar at the top of the window. Select "Auto connect" from the drop down menu.
- Click "Program device" in the green bar at the top of the window. In the "Program Device" wizard, enter "<archive extracted location>vivado_proj/Cmod-S7-25-OOB.runs/impl_1/top.bit" into the "Bitstream file" field. Then click Program.
- The demo will now be programmed onto the Cmod S7. See the Introduction section of this README for a description of how to interact with this demo.
This demo can be used as a basis for other projects, either by adding sources included in the demo's release to those projects, or by modifying the sources in the release project. Check out the Cmod S7's Resource Center to find more documentation, demos, and tutorials.
For more information on how this project is version controlled, refer to the Digilent Vivado Scripts Repository