sdr_fsim.tcl

来自「使用FPGA做SDRAM控制器」· TCL 代码 · 共 28 行

TCL
28
字号
cd ../rtl

if {![file exists work]} {
     vlib work
}

vmap work work

# compile all necessary source and testbench files
#

# Start compiling.............
vlog +incdir+../../../../source ../../../../source/sdr_ctrl.v
vlog +incdir+../../../../source ../../../../source/sdr_sig.v
vlog +incdir+../../../../source ../../../../source/sdr_data.v
vlog +incdir+../../../../source ../../../../source/sdr_top.v

vlog +incdir+../../../../source ../../../../testbench/sdr_tb.tf

# End


# Load the top testbench file
vsim work.sdr_tb

add wave -r /*

run -all

⌨️ 快捷键说明

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