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] - Blame information for rev 43

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 29 qaztronic
# ------------------------------------
2
#
3
# ------------------------------------
4
 
5
global env
6
 
7 43 qaztronic
# setup environment
8
do ../../../../scripts/sim_env.do
9 29 qaztronic
set env(SIM_TARGET) fpga
10 43 qaztronic
set env(SIM_TB) tb_recursive_axis_mux
11 29 qaztronic
 
12
radix -hexadecimal
13
 
14
make_lib work 1
15
 
16 43 qaztronic
sim_compile_lib $env(LIB_BASE_DIR) tb_packages
17
sim_compile_lib $env(LIB_BASE_DIR) bfm_packages
18
sim_compile_lib $env(LIB_BASE_DIR) axi4_lib
19
sim_compile_lib $env(LIB_BASE_DIR) qaz_lib
20
sim_compile_lib $env(LIB_BASE_DIR) sim
21 29 qaztronic
 
22
# simulation $root
23 43 qaztronic
vlog $env(LIB_BASE_DIR)/axi4_lib/sim/src/axi4_bfm/axi4_transaction_pkg.sv
24
vlog $env(LIB_BASE_DIR)/axi4_lib/sim/src/axi4_bfm/axi4_master_bfm_if.sv
25
vlog $env(PROJECT_DIR)/sim/src/axi4_lite_agent_pkg.sv
26 29 qaztronic
vlog $env(PROJECT_DIR)/sim/src/tb_axi4_lite_register_file.sv
27
 
28
# compile test last
29
vlog ./the_test.sv
30
 
31
# run the sim
32
sim_run_test
33
 
34
 
35
 

powered by: WebSVN 2.1.0

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