1 |
145 |
lanttu |
# Script compiles all vhdl-files and generates a makefile for them
|
2 |
|
|
# This script is tested for Modelsim version 6.6a
|
3 |
|
|
|
4 |
|
|
.main clear
|
5 |
|
|
|
6 |
|
|
echo " Generating libraries for files"
|
7 |
|
|
|
8 |
|
|
echo "Processing component TUT:ip.hwp.communication:basic_tester_tx:1.0"
|
9 |
|
|
echo "Processing file set rtl of component TUT:ip.hwp.communication:basic_tester_tx:1.0."
|
10 |
|
|
echo " Adding library work"
|
11 |
|
|
vlib work
|
12 |
|
|
vcom -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/basic_tester/1.0/vhd/txt_util.vhd
|
13 |
|
|
vcom -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/basic_tester/1.0/vhd/basic_tester_pkg.vhd
|
14 |
|
|
vcom -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/basic_tester/1.0/vhd/basic_tester_tx.vhd
|
15 |
|
|
|
16 |
|
|
echo "Processing component TUT:ip.hwp.interface:clk_gen:1.0"
|
17 |
|
|
echo "Processing file set behavioral of component TUT:ip.hwp.interface:clk_gen:1.0."
|
18 |
|
|
vcom -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/clock/1.0/vhd/clk_gen.vhd
|
19 |
|
|
|
20 |
|
|
echo "Processing component TUT:ip.hwp.communication:basic_tester_rx:1.0"
|
21 |
|
|
echo "Processing file set rtl of component TUT:ip.hwp.communication:basic_tester_rx:1.0."
|
22 |
|
|
vcom -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/basic_tester/1.0/vhd/basic_tester_rx.vhd
|
23 |
|
|
|
24 |
|
|
echo "Processing component TUT:ip.hwp.interface:rst_gen:1.0"
|
25 |
|
|
echo "Processing file set behavioral of component TUT:ip.hwp.interface:rst_gen:1.0."
|
26 |
|
|
vcom D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/reset/1.0/vhd/rst_gen.vhd
|
27 |
|
|
|
28 |
|
|
echo "Processing component TUT:ip.hwp.communication:hibi_segment_small:3.0"
|
29 |
|
|
echo "Processing file set hdlSources of component TUT:ip.hwp.communication:hibi_segment_small:3.0."
|
30 |
|
|
echo " Adding library hibi"
|
31 |
|
|
vlib hibi
|
32 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibiv3_pkg.vhd
|
33 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/addr_data_demux_read.vhd
|
34 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/addr_data_mux_write.vhd
|
35 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/addr_decoder.vhd
|
36 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/cfg_init_pkg.vhd
|
37 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/cfg_mem.vhd
|
38 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/double_fifo_demux_wr.vhd
|
39 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/double_fifo_mux_rd.vhd
|
40 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/dyn_arb.vhd
|
41 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/fifo_demux_wr.vhd
|
42 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/fifo_mux_rd.vhd
|
43 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/lfsr.vhd
|
44 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/receiver.vhd
|
45 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/rx_control.vhd
|
46 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/transmitter.vhd
|
47 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/tx_control.vhd
|
48 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibi_wrapper_r1.vhd
|
49 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibi_wrapper_r3.vhd
|
50 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibi_wrapper_r4.vhd
|
51 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibi_segment_small.vhd
|
52 |
|
|
vcom -quiet -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/hibi/3.0/vhd/hibi_segment_v3.vhd
|
53 |
|
|
echo "Processing file set fifo_rtl of component TUT:ip.hwp.communication:hibi_segment_small:3.0."
|
54 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/fifo/1.0/vhd/fifo.vhd
|
55 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/multiclk_fifo/1.0/vhd/mixed_clk_fifo_v3.vhd
|
56 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/multiclk_fifo/1.0/vhd/multiclk_fifo.vhd
|
57 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/multiclk_fifo/1.0/vhd/re_pulse_synchronizer.vhd
|
58 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/multiclk_fifo/1.0/vhd/we_pulse_synchronizer.vhd
|
59 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_we_top.vhd
|
60 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_read_in.vhd
|
61 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_read_out.vhd
|
62 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_read_top.vhd
|
63 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_we_in.vhd
|
64 |
|
|
vcom -check_synthesis -work hibi D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/synchronizer/1.0/vhd/aif_we_out.vhd
|
65 |
|
|
|
66 |
|
|
echo "Processing component TUT:soc:basic_tester_hibi_example:1.0"
|
67 |
|
|
echo "Processing file set structural_vhdlSource of component TUT:soc:basic_tester_hibi_example:1.0."
|
68 |
|
|
vcom -quiet -check_synthesis -work work D:/user/ege/Svn/daci_ip/trunk/soc/basic_tester_example/1.0/vhd/basic_tester_hibi_example.vhd
|
69 |
|
|
|
70 |
|
|
echo " Creating a new Makefile"
|
71 |
|
|
|
72 |
|
|
# remove the old makefile
|
73 |
|
|
rm -f Makefile
|
74 |
|
|
vmake work > Makefile
|
75 |
|
|
echo " Script has been executed "
|