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.interface:udp_ip_dm9000a:1.0"
|
9 |
|
|
echo "Processing file set HDLsources of component TUT:ip.hwp.interface:udp_ip_dm9000a:1.0."
|
10 |
|
|
echo " Adding library work"
|
11 |
|
|
vlib work
|
12 |
|
|
echo "Processing file set eth_ctrl_vhd of component TUT:ip.hwp.interface:udp_ip_dm9000a:1.0."
|
13 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_ctrl_pkg.vhd
|
14 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_send_module.vhd
|
15 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_comm_module.vhd
|
16 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_init_module.vhd
|
17 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_interrupt_handler.vhd
|
18 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_read_module.vhd
|
19 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/eth_dm9000a_ctrl/1.0/vhd/DM9kA_controller.vhd
|
20 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/udp_ip_pkg.vhd
|
21 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/arp3.vhd
|
22 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/arpsnd.vhd
|
23 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/ip_checksum.vhd
|
24 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/udp.vhd
|
25 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/udp_arp_data_mux.vhd
|
26 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/udp_ip.vhd
|
27 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/udp_ip_dm9000a.vhd
|
28 |
|
|
|
29 |
|
|
echo "Processing component TUT:ip.hwp.misc:altera_de2_pll_25:1.0"
|
30 |
|
|
echo "Processing file set HDLsources of component TUT:ip.hwp.misc:altera_de2_pll_25:1.0."
|
31 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/altera_de2_pll_25/vhd/ALTPLL_for_DE2_50to25.vhd
|
32 |
|
|
|
33 |
|
|
echo "Processing component TUT:ip.hwp.interface:simple_udp_flood_example:1.0"
|
34 |
|
|
echo "Processing file set HDLsources of component TUT:ip.hwp.interface:simple_udp_flood_example:1.0."
|
35 |
|
|
vcom -work work -check_synthesis -quiet D:/user/ege/Svn/daci_ip/trunk/ip.hwp.interface/udp_ip/1.0/vhd/simple_udp_flood_example.vhd
|
36 |
|
|
|
37 |
|
|
echo "Processing component TUT:soc:udp_flood_example_dm9000a:1.0"
|
38 |
|
|
echo "Processing file set vhdlSource of component TUT:soc:udp_flood_example_dm9000a:1.0."
|
39 |
|
|
vcom -quiet -check_synthesis -work work D:/user/ege/Svn/daci_ip/trunk/soc/udp_flood_example_dm9000a/1.0/vhd/udp_flood_example_dm9000a.vhd
|
40 |
|
|
|
41 |
|
|
echo " Creating a new Makefile"
|
42 |
|
|
|
43 |
|
|
# remove the old makefile
|
44 |
|
|
rm -f Makefile
|
45 |
|
|
vmake work > Makefile
|
46 |
|
|
echo " Script has been executed "
|