Technical data

vdir
78
-
ModelSim Command Reference ModelSim EE/PLUS Reference Manual
vdir
The
vdir
command selectively lists the contents of a design library.
Syntax
vdir
[ -help ] [-l] [ -lib <library_name> ] [ <design_unit> ]
Arguments
-help
Displays the command’s options and arguments. Optional.
-l
Prints the version of
vcom
or
vlog
that each design unit was compiled under. Also prints
the object-code version number that indicates which versions of
vcom/vlog
and Model
Sim
are compatible. This example was printed by
vdir -l
for the counter entity in the
work
library:
# ENTITY counter
# Source modified time: 900537430
# Source file: counter.vhd
# Version number: `0aC^@H>0f:X]@NeVdEN13
# Opcode format: 5.2 (August 1998); VCOM Object Version 13
-lib <library_name>
Specifies the logical name or the pathname of the library to be listed. Optional; by default,
the contents of the
work
library are listed.
<design_unit>
Indicates the design unit to search for within the specified library. If the design unit is a
VHDL entity, its architectures are listed. Optional; by default, all entities, configurations,
modules, and packages in the specified library are listed.
Examples
vdir -lib design my_asic
Lists the architectures associated with the entity named
my_asic
that resides in the HDL
design library called
design
.