VHDL Programming

(C. Jardin) #1

CPU:


RTL Simulation


In this chapter, a VHDL simulator is used to verify the
functionality of the CPU VHDL RTL description. The
VHDL RTL description of the CPU is simulated with a
standard VHDL simulator to verify that the description
is correct.
A simulator needs two inputs: the description of the
design and stimulus to drive the design. Sometimes designs
are self-stimulating and do not need any external stimulus,
but in most cases, VHDL designers use a VHDL testbench
of one kind or another to drive the design being tested.
The structure of the design looks like Figure 14-1.
The top-level design description instantiates two
components: the first being the design under test (DUT)
and the second the stimulus driver. These components are
connected with signals that represent the external envi-
ronment of the DUT. The top level of the design does not
contain any external ports, just internal signals that con-
nect the two instantiated components.

(^1414)


CHAPTER

Free download pdf