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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [axi4_lite_lib/] [sim/] [tests/] [debug_axi4_lite_register_file/] [init_test.do] - Diff between revs 29 and 43

Show entire file | Details | Blame | View Log

Rev 29 Rev 43
Line 2... Line 2...
#
#
# ------------------------------------
# ------------------------------------
 
 
global env
global env
 
 
set env(ROOT_DIR) ../../../../..
# setup environment
set env(PROJECT_DIR) ../../..
do ../../../../scripts/sim_env.do
set env(SIM_TARGET) fpga
set env(SIM_TARGET) fpga
 
set env(SIM_TB) tb_recursive_axis_mux
# load sim procedures
 
do $env(ROOT_DIR)/qaz_libs/scripts/sim_procs.do
 
 
 
radix -hexadecimal
radix -hexadecimal
 
 
make_lib work 1
make_lib work 1
 
 
sim_compile_all packages
sim_compile_lib $env(LIB_BASE_DIR) tb_packages
sim_compile_all sim
sim_compile_lib $env(LIB_BASE_DIR) bfm_packages
sim_compile_all axi4_lib
sim_compile_lib $env(LIB_BASE_DIR) axi4_lib
sim_compile_all axi4_lite_lib
sim_compile_lib $env(LIB_BASE_DIR) qaz_lib
 
sim_compile_lib $env(LIB_BASE_DIR) sim
 
 
# simulation $root
# simulation $root
 
vlog $env(LIB_BASE_DIR)/axi4_lib/sim/src/axi4_bfm/axi4_transaction_pkg.sv
 
vlog $env(LIB_BASE_DIR)/axi4_lib/sim/src/axi4_bfm/axi4_master_bfm_if.sv
 
vlog $env(PROJECT_DIR)/sim/src/axi4_lite_agent_pkg.sv
vlog $env(PROJECT_DIR)/sim/src/tb_axi4_lite_register_file.sv
vlog $env(PROJECT_DIR)/sim/src/tb_axi4_lite_register_file.sv
 
 
# compile test last
# compile test last
vlog ./the_test.sv
vlog ./the_test.sv
 
 
# vopt work.glbl tb_top -L secureip -L simprims_ver -L unisims_ver -f opt_tb_top.f -o opt_tb_top
 
 
 
# run the sim
# run the sim
sim_run_test
sim_run_test
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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