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_gear_box/] [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_gear_box
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
# AXI4 streaming package
23
vlog ./axis_pkg.sv
24
 
25
vlog ./$env(SIM_TB)_pkg.sv
26
vlog ./tests_base_pkg.sv
27
vlog ./tests_pkg.sv
28
vlog ./tb_dut_if.sv
29
 
30
# simulation $root
31
vlog ./$env(SIM_TB).sv
32
 
33
# compile simulation files
34
vlog -f ./$env(SIM_TB).f
35
 
36
# # compile test last
37
# vlog ./the_test.sv
38
 
39
# run the sim
40
sim_run_test
41
 
42
 

powered by: WebSVN 2.1.0

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