CORE Generator
Performing Behavioral Simulation with ModelSim on a VHDL Design Containing Cores
Before the ModelSim simulation tools can be used to simulate the design, the wrapper file for the module, the parent design, and the test bench need to be analyzed. These design files are analyzed with the vcom command into a local, default, work library, created using the vlib command.
To Perform Behavioral Simulation on a VHDL Design
  1.  Start up ModelSim in the project_directory.
  2.  To analyze the wrapper file, the parent design, and the test bench file, type the following:
    vlib work
    vcom design_name.vhd
    vcom design_name_top.vhd 
    vcom design_name_tb.vhd
  3.  Invoke the simulator by typing in the following command:
    vsim design_name_tb
See Also

© Copyright 1995–2009, Xilinx® Inc. All rights reserved.