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 |
|
|
echo " Adding library work"
|
8 |
|
|
vlib work
|
9 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/led_packet_codec/1.0/vhd/led_packet_codec.vhd
|
10 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/fifo/1.0/vhd/fifo.vhd
|
11 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/multiclk_fifo/1.0/vhd/multiclk_fifo_v4.vhd
|
12 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/addr_lut_pkg.vhd
|
13 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/addr_lut.vhd
|
14 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/pkt_counter.vhd
|
15 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/pkt_dec.vhd
|
16 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/pkt_enc.vhd
|
17 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/pkt_enc_dec.vhd
|
18 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/packet_codec/1.0/vhd/enc_dec_1d.vhd
|
19 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/arbiter.vhd
|
20 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/allocator.vhd
|
21 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/io_block.vhd
|
22 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/switch_matrix.vhd
|
23 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/crossbar.vhd
|
24 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/crossbar_with_pkt_codec_top.vhd
|
25 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/fh_crossbar/1.0/vhd/crossbar_network_max16ag.vhd
|
26 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/switch_packet_codec/1.0/vhd/switch_packet_codec.vhd
|
27 |
|
|
vcom -quiet -check_synthesis -work work D:/user/ege/Svn/daci_ip/trunk/soc/led_fh_crossbar_example/1.0/vhd/led_fh_crossbar_example.kactusHierarchical.vhd
|
28 |
|
|
|
29 |
|
|
echo " Creating a new Makefile"
|
30 |
|
|
|
31 |
|
|
# remove the old makefile
|
32 |
|
|
rm -f Makefile
|
33 |
|
|
vmake Makefile
|
34 |
|
|
echo " Script has been executed "
|