LectureModule 3 Intro2HDLs First VHDL CKT
LectureModule 3 Intro2HDLs First VHDL CKT
Introduction to Hardware
Description Languages – HDLs
Module 3 – Your 1st VHDL Circuit
9/22/16
(c) Brown, Vranesic, Patru 2
1
9/22/16
VHDL
• IS NOT CASE SENSITIVE
• In some examples and your textbook VHDL Keywords
are capitalized or bold for easier reading and
identification; I decided to go for all lower case
because the built-in editor will suggest the keyword
after a few letters
• Each signal is represented as a data object, similar to
variables in HLPLs
• A data object can have different types:
– For example the data object type BIT
– We’ll start by using it first and introduce many other later
9/22/16
(c) Brown, Vranesic, Patru 3
Figure 2.31. VHDL entity declaration for the circuit in Figure 2.30.
2
9/22/16
VHDL
Figure 2.31. VHDL entity declaration for the circuit in Figure 2.30.
VHDL
Figure 2.31. VHDL entity declaration for the circuit in Figure 2.30.
3
9/22/16
4
9/22/16
9/22/16
(c) Brown, Vranesic, Patru 9
• A circuit can have one and only one entity, but can have
one or more architectures; only one architecture is
selected and used during synthesis
• In this architecture we have described the functionality of
the circuit in a functional way, hence we call this functional
code
• As in Verilog, we could describe the structure of the circuit,
which is called structural code, or its behavior, which is
called behavioral code, which we will cover later
9/22/16
(c) Brown, Vranesic, Patru 10
5
9/22/16
A second example
9/22/16
(c) Brown, Vranesic, Patru 12