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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [PCIe/] [sim/] [tests/] [tb_chnl_tester/] [init_test.do] - Blame information for rev 42

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

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

powered by: WebSVN 2.1.0

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