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

Subversion Repositories gng

[/] [gng/] [trunk/] [sim/] [modelsim/] [run.do] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 guangxi.li
# To run this example, bring up the simulator and type the following at the prompt:
2
#     do run.do
3
# or, to run from a shell, type the following at the shell prompt:
4
#     vsim -c -do run.do
5
# (omit the "-c" to see the GUI while running from the shell)
6
# Remove the "quit -f" command from this file to view the results in the GUI.
7
 
8
 
9
onbreak {resume}
10
 
11
# Create the library.
12
if [file exists work] {
13
    vdel -all
14
}
15
vlib work
16
 
17
# Compile the sources.
18
vlog ../../rtl/gng.v
19
vlog ../../rtl/gng_coef.v
20
vlog ../../rtl/gng_ctg.v
21
vlog ../../rtl/gng_interp.v
22
vlog ../../rtl/gng_lzd.v
23
vlog ../../rtl/gng_smul_16_18.v
24
vlog ../../rtl/gng_smul_16_18_sadd_37.v
25
vlog ../../tb/tb_gng.sv
26
 
27
 
28
# Simulate the design.
29
vsim -novopt -c tb_gng
30
run -all
31
 
32
quit -f

powered by: WebSVN 2.1.0

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