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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [avalon_lib/] [sim/] [tests/] [tb_amm_bfm/] [init_test.do] - Blame information for rev 31

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 31 qaztronic
# ------------------------------------
2
#
3
# ------------------------------------
4
 
5
global env
6
 
7
set env(ROOT_DIR) ../../../../..
8
set env(PROJECT_DIR) ../../..
9
set env(SIM_TARGET) fpga
10
 
11
# load sim procedures
12
do $env(ROOT_DIR)/qaz_libs/scripts/sim_procs.do
13
 
14
radix -hexadecimal
15
 
16
make_lib work 1
17
 
18
sim_compile_all packages
19
sim_compile_all sim
20
sim_compile_all avalon_lib
21
 
22
# simulation $root
23
vlog $env(PROJECT_DIR)/sim/src/tb_amm_bfm.sv
24
 
25
# compile test last
26
vlog ./the_test.sv
27
 
28
# vopt work.glbl tb_top -L secureip -L simprims_ver -L unisims_ver -f opt_tb_top.f -o opt_tb_top
29
 
30
# run the sim
31
sim_run_test
32
 
33
 
34
 

powered by: WebSVN 2.1.0

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