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_pkt_codec_mk2/1.0/vhd/led_pkt_codec_mk2.vhd
|
10 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/log2_pkg.vhd
|
11 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/ase_noc_pkg.vhd
|
12 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/ase_dring1_pkg.vhd
|
13 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/ase_mesh1_pkg.vhd
|
14 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/fifo_mk2/1.0/vhd/ram_1clk.vhd
|
15 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.storage/fifos/fifo_mk2/1.0/vhd/fifo_2clk.vhd
|
16 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/addr_gen.vhd
|
17 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/address_lut.vhd
|
18 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/addr_rip.vhd
|
19 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/addr_translation.vhd
|
20 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/cdc.vhd
|
21 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/pkt_codec_mk2/1.0/vhd/pkt_codec_mk2.vhd
|
22 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/ase_mesh1/1.0/vhd/ase_mesh1_router.vhd
|
23 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/ase_mesh1/1.0/vhd/ase_mesh1.vhd
|
24 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/ase_mesh1/1.0/vhd/ase_mesh1_pkt_codec.vhd
|
25 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.communication/ase_mesh1/1.0/vhd/ase_mesh1_top4.vhd
|
26 |
|
|
vcom -quiet -check_synthesis D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/switch_pkt_codec_mk2/1.0/vhd/switch_pkt_codec_mk2.vhd
|
27 |
|
|
vcom -quiet -check_synthesis -work work D:/user/ege/Svn/daci_ip/trunk/soc/led_ase_mesh1_example/1.0/vhd/led_ase_mesh1_example.structural.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 "
|