URL
https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk
Subversion Repositories pcie_ds_dma
[/] [pcie_ds_dma/] [trunk/] [projects/] [ambpex5_v20_sx50t_core/] [src/] [testbench/] [modelsim/] [zz_do/] [setup_sim.do] - Rev 2
Compare with Previous | Blame | View Log
#
#
quit -sim
#
#
echo Cre WORK lib (and del OLD, if exists)
if {[file exists "work"]} { vdel -all}
vlib work
#
#
echo Compile SRC:
vcom -quiet -f zz_do/files_coregen_vhdl.f
vlog -quiet -f zz_do/files_design_verilog.f
vcom -quiet -f zz_do/files_design_vhdl.f
#
#
echo Compile TEST ENV:
vcom -quiet -f zz_do/files_verification_vhdl.f
#
#
echo Start SIM:
vsim -t ps -novopt -L secureip -L unisims_ver work.stend_ambpex5_core_m2 glbl
#
#
log -r /*
#
#
do wave.do
#
# skip warnings like: Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the result will be 'X'(es).
quietly set StdArithNoWarnings 1
quietly set NumericStdNoWarnings 1
#
#
run -all