1
RTL Hardware Design by P. Chu Chapter 3 1
Basic Language Constructs of VHDL
RTL Hardware Design by P. Chu Chapter 3 2
Outline
- 1. Basic VHDL program
- 2. Lexical elements and program format
- 3. Objects
- 4. Data type and operators
RTL Hardware Design by P. Chu Chapter 3 3
- 1. Basic VHDL program
RTL Hardware Design by P. Chu Chapter 3 4
Design unit
- Building blocks in a VHDL program
- Each design unit is analyzed and stored
independently
- Types of design unit:
– entity declaration – architecture body – package declaration – package body – configuration
RTL Hardware Design by P. Chu Chapter 3 5
Entity declaration
- Simplified syntax
RTL Hardware Design by P. Chu Chapter 3 6
- mode:
– in: flow into the circuit – out: flow out of the circuit – inout: bi-directional
- E.g.