Technical data
Mixed VHDL/Verilog simulation
148
-
ModelSim EE Lessons ModelSim EE Tutorial
12
We’ll use Model
Sim
’s Find/Search function to find the declaration of cache_set within
cache.v
. From the Source window menu select:
Edit > Find
; the Search dialog box is
displayed.
In the
Search For:
field type
cache_set
and click
Forward
. The cache_set
declaration is now displayed
in the Source window.
Note that the declaration of cache_set is a VHDL entity instantiated within the
Verilog file
cache.v.
13
Now click on the line
"s0: cache_set(only)"
in the Structure window.
The Source window now shows the VHDL code for the cache_set entity.