URL
https://opencores.org/ocsvn/hssdrc/hssdrc/trunk
[/] [hssdrc/] [trunk/] [sim/] [compile.do] - Blame information for rev 2
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
des00 |
|
2 |
|
|
set need_quit 1
|
3 |
|
|
set need_del 1
|
4 |
|
|
|
5 |
|
|
set debug 1
|
6 |
|
|
|
7 |
|
|
if {$debug} {
|
8 |
|
|
set opt novopt
|
9 |
|
|
} else {
|
10 |
|
|
set opt O4
|
11 |
|
|
}
|
12 |
|
|
#
|
13 |
|
|
#set used project dir
|
14 |
|
|
#
|
15 |
|
|
set prjdir E:/work_des00/Project/prj_10_hssdrc
|
16 |
|
|
|
17 |
|
|
set coredir $prjdir/core
|
18 |
|
|
set rtldir $prjdir/rtl
|
19 |
|
|
set tbdir $prjdir/testbench
|
20 |
|
|
set incdir $prjdir/include
|
21 |
|
|
|
22 |
|
|
if {$need_del} {
|
23 |
|
|
vdel -all work
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
vlib work
|
27 |
|
|
# core codes
|
28 |
|
|
vlog $coredir/mt48lc2m32b2.v
|
29 |
|
|
# headers codes
|
30 |
|
|
# rtl codes
|
31 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_data_path.v
|
32 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_data_path_p1.v
|
33 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_addr_path.v
|
34 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_addr_path_p1.v
|
35 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_mux.v
|
36 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_init_state.v
|
37 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_arbiter_out.v
|
38 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_access_manager.v
|
39 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_decoder_state.v
|
40 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_decoder.v
|
41 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_ba_map.v
|
42 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_arbiter_in.v
|
43 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_refr_counter.v
|
44 |
|
|
vlog -$opt -sv -lint -incr +incdir+$incdir+$rtldir $rtldir/hssdrc_top.v
|
45 |
|
|
|
46 |
|
|
# tb codes
|
47 |
|
|
vlog -$opt -sv -lint +incdir+$incdir+$tbdir $tbdir/sdram_interpretator.sv
|
48 |
|
|
|
49 |
|
|
vlog -$opt -sv -lint +incdir+$incdir+$tbdir $tbdir/tb_prog.sv
|
50 |
|
|
vlog -$opt -sv -lint +incdir+$incdir+$tbdir $tbdir/tb_top.sv
|
51 |
|
|
|
52 |
|
|
if {$need_quit} {
|
53 |
|
|
quit
|
54 |
|
|
}
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.