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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [basal/] [sim/] [tests/] [analog_devices/] [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
make_lib work 1
17
 
18
sim_compile_all FPGA
19
sim_compile_all sim
20
 
21
# simulation $root
22
vlog $env(PROJECT_DIR)/sim/src/tb_analog_devices.sv
23
 
24
# compile test last
25
vlog ./the_test.sv
26
 
27
# vopt work.glbl tb_top -L secureip -L simprims_ver -L unisims_ver -f opt_tb_top.f -o opt_tb_top
28
 
29
# run the sim
30
sim_run_test
31
 
32
 
33
 

powered by: WebSVN 2.1.0

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