start.do

来自「qam的vhdl程序」· DO 代码 · 共 37 行

DO
37
字号
# startup.do for demodulator and polar plot demonstration
#
# Jonathan Bromley  25 Apr 2002

# This script starts everything from scratch, which is OK for a
# tiny simulation like this.  A more sophisticated approach is
# needed if you don't want to recompile everything every time.
# Nevertheless, this script is also OK when re-run in the same
# directory.

# To get this to run automatically at ModelSim startup, add
# this line (without the leading comment character!!!)
# to your local modelsim.ini file:
#
# Startup = do startup.do


# ############################################################

# Create a library, within a "catch" so there's no problem if it
# already exists
#
catch {vlib lib}

# Map the working library
#
vmap work lib

# Compile all the necessary HDL files for the demo
#
vcom -93 {demod.vhd}
vcom -93 {demodtb.vhd}

# Load the simulation and create the wave display
#
vsim -t ps testdemod
do wave.do

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?