OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [PCIe/] [sim/] [tests/] [tb_riffa_register_file/] [init_test.do] - Diff between revs 32 and 50

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 32 Rev 50
Line 5... Line 5...
global env
global env
 
 
# setup environment
# setup environment
do ../../../../scripts/sim_env.do
do ../../../../scripts/sim_env.do
set env(SIM_TARGET) fpga
set env(SIM_TARGET) fpga
set env(SIM_TB) tb_riffa_register_file
 
 
 
radix -hexadecimal
radix -hexadecimal
 
 
make_lib work 1
make_lib work 1
 
 
Line 17... Line 16...
sim_compile_lib $env(LIB_BASE_DIR) bfm_packages
sim_compile_lib $env(LIB_BASE_DIR) bfm_packages
sim_compile_lib $env(LIB_BASE_DIR) axi4_lib
sim_compile_lib $env(LIB_BASE_DIR) axi4_lib
sim_compile_lib $env(LIB_BASE_DIR) qaz_lib
sim_compile_lib $env(LIB_BASE_DIR) qaz_lib
sim_compile_lib $env(LIB_BASE_DIR) sim
sim_compile_lib $env(LIB_BASE_DIR) sim
 
 
 
vlog -f ./tb_files.f
# compile simulation files
vlog -f ./files.f
vlog -f ./$env(SIM_TB).f
 
 
 
# simulation $root
 
vlog ./$env(SIM_TB)_pkg.sv
 
vlog ./$env(SIM_TB).sv
 
 
 
# compile test last
 
vlog ./the_test.sv
 
 
 
# run the sim
# run the sim
sim_run_test
sim_run_test
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.