Introduction to VHDL Coding Basics

introduction to vhdl coding wenchao cao teaching n.w
1 / 18
Embed
Share

Explore the fundamental concepts of VHDL coding with examples in Xilinx ISE Design Suite, covering entity declaration, port definition, architecture body, project setup, and implementation like full adders. Learn how to create new projects, set project configurations, and generate VHDL code templates using software tools.

  • VHDL Coding
  • Xilinx ISE
  • Full Adder
  • Project Setup
  • VHDL Basics

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Introduction to VHDL Coding Wenchao Cao, Teaching Assistant Department of EECS University of Tennessee

  2. Outline Example of Example of VHDL Coding in Xilinx ISE Design Suite VHDL Coding in Xilinx ISE Design Suite Basic Knowledge of VHDL Basic Knowledge of VHDL

  3. Outline Example of Example of VHDL Coding in Xilinx ISE Design Suite VHDL Coding in Xilinx ISE Design Suite Basic Knowledge of VHDL Basic Knowledge of VHDL

  4. Example of VHDL Coding in Example of VHDL Coding in Xilinx Xilinx ISE Design Suite ISE Design Suite Work Flow Work Flow The figure shows the software tools in a logic design project from schematic to VHDL code to *.bit file for download to BASYS or BASYS2 board.

  5. Implementation of a Full Adder

  6. Create A New Project

  7. Project Settings Choose TQ144 if you are using a BASYS board

  8. Create New Sauce Files

  9. Generated VHDL file template by the software: Generated VHDL file template by the software: Entity declaration (Entity name) Port definition (Port name and direction) Architecture body (Write the functions here!)

  10. Outline Example of Example of VHDL Coding in Xilinx ISE Design Suite VHDL Coding in Xilinx ISE Design Suite Basic Knowledge of VHDL Basic Knowledge of VHDL

  11. Basic Modeling Constructs Entity declarations Entity declarations Entity identifier: Lab00 Ports definition Ports definition Port names: A, B, Cin, S, Cout Port directions in for input ports, out for output ports. Architecture body Architecture body Architecture identifier: Behavioral Behavioral descriptions Behavioral descriptions Signal assignment statement S <= <= A xor B xor Cin; ; Logical operators and, or, not, and, or, not, xor xor, , nand (No difference between upper case and lower case.) Use ( ) ( ) to make the statement clearly expressed. nand, nor, , nor, xnor xnor

  12. Signal Assignment Statement Example Example = + X ABCD ABCD Logical operators in lower case Logical operators in upper case Less parentheses ( )

  13. Assign Logic 1 and Logic 0 Example Example Y = X = 0 1 Assign value of 1 Assign value of 0

  14. Introduction to VHDL Coding

More Related Content