Technical data

vdir
ModelSim EE/SE Command Reference ModelSim Commands CR-177
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 commands 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 ModelSim are compatible. This example was printed by vdir -l for the counter
entity in the work library:
# ENTITY counter
# Source modified time: 930595550
# Source file: counter.vhd
# Version number: `0aC^@H>0f:X]@NeVdEN13
# Opcode format: 5.3 DEV; VCOM EE Object version 14
-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.
Example
vdir -lib design my_asic
Lists the architectures associated with the entity named my_asic that resides in the HDL
design library called design.