Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmable-logic:nexys-a7:demos:keyboard [2021/08/26 21:32] – ↷ Links adapted because of a move operation Arthur Brownprogrammable-logic:nexys-a7:demos:keyboard [2023/08/24 23:33] (current) – Move to direct file links for downloads Arthur Brown
Line 1: Line 1:
 ====== Nexys A7 Keyboard Demo ====== ====== Nexys A7 Keyboard Demo ======
- 
-<WRAP todo important> 
-== Under Construction == 
-</WRAP> 
  
 {{:reference:programmable-logic:nexys-a7:nexys-a7-top-600.png?400|}} {{:reference:programmable-logic:nexys-a7:nexys-a7-top-600.png?400|}}
Line 9: Line 5:
 ===== Description ===== ===== Description =====
  
-This project is a Vivado demo using the Nexys A7's USB HID Host port and USB UART bridge, written in Verilog. When programmed onto the board, whenever the user presses a key on a keyboard connected to the USB HID port (J5, labeled "USB HOST"), a scan code is sent to the Nexys A7-100T through PS/2 interface. This scan code is read and transmitted to the computer via the USB-UART bridge. When the key is released, a scan code of 0xF0XX is transmitted, indicating that the key with PS/2 code "XX" has been released.+This project is a Vivado demo using the Nexys A7's USB HID Host port and seven-segment display, written in Verilog. When programmed onto the board, whenever the user presses a key on a keyboard connected to the USB HID port (J5, labeled "USB HOST"), a scan code is shifted into shift register, the contents of which are displayed on the seven-segment display in hexadecimal. When the key is released, a scan code of 0xF0XX is shifted in, indicating that the key with PS/2 code "XX" has been released. Redundant codes indicating that a key is being held down, typically sent about once every 100 ms, are detected and not shifted into the shift register.
  
-To use this demo, the Nexys A7 must be connected to a serial terminal on the computer it is connected to over the MicroUSB cable. +For example: If the user presses the space bar on a keyboard connected to the Nexys A7, the scan code "29" will be displayed in the final two digits of the display, and when the space bar is released, "F0 29" will be shifted in so that the display reads "XX 29 F0 29".
- +
-For example: If the user presses the space bar on a keyboard connected to the Nexys A7, the scan code "29" will be sent to the computer. When the space bar is released, "F0 29" will be printed. +
- +
-Additional information on how this demo can be used can be found in appropriate READMEs, linked below.+
  
 ---- ----
Line 21: Line 13:
  
   * Nexys A7 with a MicroUSB Programming Cable   * Nexys A7 with a MicroUSB Programming Cable
-  * Vivado installation compatible with the latest release of this demo (2020.1)+  * Vivado installation compatible with the latest release of this demo (2022.1)
     * //See [[programmable-logic:guides:installing-vivado-and-vitis|Installing Vivado, Vitis, and Digilent Board Files]] for installation instructions.//     * //See [[programmable-logic:guides:installing-vivado-and-vitis|Installing Vivado, Vitis, and Digilent Board Files]] for installation instructions.//
   * Serial Terminal application to receive messages printed by the demo   * Serial Terminal application to receive messages printed by the demo
Line 32: Line 24:
 The following releases of this demo can be used with instructions found in the corresponding READMEs in order to run the demo. The following releases of this demo can be used with instructions found in the corresponding READMEs in order to run the demo.
  
-Releases are only compatible with the version of the Xilinx tools specified in the release version number. In addition, releases are only compatible with the specified variant of the board. For example, the v2020.1-1 release for Nexys A7-100T can only be used with Vivado 2020.1 and Nexys A7-100T variant of the board.+Releases are only compatible with the version of the Xilinx tools specified in the release version number. In addition, releases are only compatible with the specified variant of the board. For example, a release tagged "20/DMA/2020.1for the Zybo Z7 is only to be used with the -20 variant of the board and Vivado 2020.1.
  
 The latest release version for this demo is highlighted in green. The latest release version for this demo is highlighted in green.
Line 38: Line 30:
 **Note:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.// **Note:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.//
  
-^ Board Variant  ^ Release Tag                  ^ Release Downloads                                                                               ^ Setup Instructions                                                              +^ Board Variant  ^ Release Tag                       ^ Release Downloads                                                                                    ^ Setup Instructions                                                                   
-| Nexys A7-100T  | @#C0EEBD: 100T/Keyboard/2020.1-1  | [[https://github.com/Digilent/Nexys-A7/releases/tag/100T/Keyboard/2020.1-1|Release ZIP Downloads]]   | See //Using the Latest Release//, below                                         +| Nexys A7-100T  | @#C0EEBD: 100T/Keyboard/2022.1-1  | {{https://github.com/Digilent/Nexys-A7/releases/download/100T/Keyboard/2022.1-1/Nexys-A7-100T-Keyboard-hw.xpr.zip}}  | See //Using the Latest Release//, below                                              
-| Nexys A7-50T   | @#C0EEBD: 50T/Keyboard/2020.1-1   [[https://github.com/Digilent/Nexys-A7/releases/tag/50T/Keyboard/2020.1-1|Release ZIP Downloads]]    | See //Using the Latest Release//, below                                         +| Nexys A7-50T   | @#C0EEBD: 50T/Keyboard/2022.1-1   {{https://github.com/Digilent/Nexys-A7/releases/download/50T/Keyboard/2022.1-1/Nexys-A7-50T-Keyboard-hw.xpr.zip}}    | See //Using the Latest Release//, below                                              | 
-| Nexys A7-100T  | v2018.2-1                    | [[https://github.com/Digilent/Nexys-A7-100T-Keyboard/releases/tag/v2018.2-1|Release ZIP downloads]]  | [[https://github.com/Digilent/Nexys-A7-100T-Keyboard/tree/v2018.2-1|Github README]] +| Nexys A7-100T  | 100T/Keyboard/2021.1-1            | {{https://github.com/Digilent/Nexys-A7/releases/download/100T/Keyboard/2021.1-1/Nexys-A7-100T-Keyboard-hw.xpr.zip}}  | See //Using the Latest Release//, below                                              | 
-| Nexys A7-50T   | v2018.2-1                    | [[https://github.com/Digilent/Nexys-A7-50T-Keyboard/releases/tag/v2018.2-1|Release ZIP downloads]]   | [[https://github.com/Digilent/Nexys-A7-50T-Keyboard/tree/v2018.2-1|Github README]]   |+| Nexys A7-50T   | 50T/Keyboard/2021.1-1             | {{https://github.com/Digilent/Nexys-A7/releases/download/50T/Keyboard/2021.1-1/Nexys-A7-50T-Keyboard-hw.xpr.zip}}    | See //Using the Latest Release//, below                                              | 
 +| Nexys A7-100T  | 100T/Keyboard/2020.1-1            {{https://github.com/Digilent/Nexys-A7/releases/download/100T/Keyboard/2020.1-1/Nexys-A7-100T-Keyboard-hw.xpr.zip}}  | See //Using the Latest Release//, below                                              | 
 +| Nexys A7-50T   | 50T/Keyboard/2020.1-1             | {{https://github.com/Digilent/Nexys-A7/releases/download/50T/Keyboard/2020.1-1/Nexys-A7-50T-Keyboard-hw.xpr.zip}}    | See //Using the Latest Release//, below                                              
 +| Nexys A7-100T  | v2018.2-1                         | [[https://github.com/Digilent/Nexys-A7-100T-Keyboard/releases/tag/v2018.2-1|Release ZIP downloads]]  | [[https://github.com/Digilent/Nexys-A7-100T-Keyboard/tree/v2018.2-1|Github README]] 
 +| Nexys A7-50T   | v2018.2-1                         | [[https://github.com/Digilent/Nexys-A7-50T-Keyboard/releases/tag/v2018.2-1|Release ZIP downloads]]   | [[https://github.com/Digilent/Nexys-A7-50T-Keyboard/tree/v2018.2-1|Github README]]   | 
 + 
 +**Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https://github.com/digilent/nexys-a7/tree/100T/Keyboard/master|100T/Keyboard/master]] and [[https://github.com/digilent/nexys-a7/tree/50T/Keyboard/master|50T/Keyboard/master]] branches of the Nexys-A7 repository. Further documentation on the structure of this repository can be found on this wiki's [[programmable-logic:documents:git]] page.//
  
-**Note for Advanced Users:** //All demos for the Nexys A7 are provided through the [[https://github.com/Digilent/Nexys-A7|Nexys-A7]] repository on Github. Further documentation on the structure of this repository can be found on this wiki's [[programmable-logic:documents:git]] page.// 
 ---- ----
 Instructions on the use of the latest release can be found in this dropdown: Instructions on the use of the latest release can be found in this dropdown:
  
---> Using the Latest Release #+--> Using the Latest Release #^
  
 <WRAP group> <WRAP group>
Line 63: Line 60:
 {{page>programmable-logic:guides:using-github-releases#hardware_only_release_programming&noheader}} {{page>programmable-logic:guides:using-github-releases#hardware_only_release_programming&noheader}}
  
-At this point, the demo is now running on your board. Refer to the [[#description|Description]] and [[#functionality|Functionality]] sections of this document for more information on what it does.+At this point, the demo is now running on your board. Refer to the [[#description|Description]] section of this document for more information on what it does.
 </WRAP> </WRAP>
  
Line 75: Line 72:
 For a walkthrough of the process of creating a simple baremetal software project in Vivado and Vitis, see [[programmable-logic:guides:getting-started-with-ipi]]. Information on important parts of the GUIs, and indirect discussion of the steps required to modify, rebuild, and run this demo in hardware can also be found here. For a walkthrough of the process of creating a simple baremetal software project in Vivado and Vitis, see [[programmable-logic:guides:getting-started-with-ipi]]. Information on important parts of the GUIs, and indirect discussion of the steps required to modify, rebuild, and run this demo in hardware can also be found here.
  
-For technical support, please visit the [[https://forum.digilentinc.com/forum/4-fpga/|FPGA]] section of the Digilent Forum.+For technical support, please visit the [[https://forum.digilent.com/forum/4-fpga/|FPGA]] section of the Digilent Forum.
  
 ---- ----
-<code>{{tag>project nexys-a7}}</code>