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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [BFM/] [sim/] [tests/] [tb_1_tile_4_outputs/] [init_test.do] - Blame information for rev 34

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 34 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
quit -sim
17
 
18
make_lib work 1
19
 
20
sim_compile_all packages
21
sim_compile_all axi4_lib
22
sim_compile_all qaz_libs
23
sim_compile_all sim
24
 
25
# simulation $root
26
vlog $env(PROJECT_DIR)/sim/src/avf_1_tile_4_outputs_class_pkg.sv
27
vlog $env(PROJECT_DIR)/sim/src/tb_1_tile_4_outputs.sv
28
 
29
# compile test last
30
vlog ./the_test.sv
31
 
32
# vopt work.glbl tb_top -L secureip -L simprims_ver -L unisims_ver -f opt_tb_top.f -o opt_tb_top
33
 
34
# run the sim
35
sim_run_test
36
 
37
 
38
 

powered by: WebSVN 2.1.0

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