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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [axi4_stream_lib/] [sim/] [tests/] [legacy/] [tb_axis_switch_allocator/] [init_test.do] - Blame information for rev 50

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 50 qaztronic
# ------------------------------------
2
#
3
# ------------------------------------
4
 
5
global env
6
 
7
# setup environment
8
do ../../../../scripts/sim_env.do
9
set env(SIM_TARGET) fpga
10
set env(SIM_TB) tb_axis_switch_allocator
11
 
12
radix -hexadecimal
13
 
14
make_lib work 1
15
 
16
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
 
22
# compile simulation files
23
vlog -f ./$env(SIM_TB).f
24
 
25
# simulation $root
26
vlog ./$env(SIM_TB)_pkg.sv
27
vlog ./$env(SIM_TB).sv
28
 
29
# compile test last
30
vlog ./the_test.sv
31
 
32
# run the sim
33
sim_run_test
34
 
35
 

powered by: WebSVN 2.1.0

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