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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [axi4_stream_lib/] [sim/] [tests/] [tb_axis_gear_box/] [init_test.do] - Blame information for rev 40

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 40 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_pkg.sv
27
 
28
# simulation $root
29
vlog ./$env(SIM_TB).sv
30
 
31
# compile simulation files
32
vlog -f ./$env(SIM_TB).f
33
 
34
# # compile test last
35
# vlog ./the_test.sv
36
 
37
# run the sim
38
sim_run_test
39
 
40
 

powered by: WebSVN 2.1.0

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