OpenCores
URL https://opencores.org/ocsvn/gecko4/gecko4/trunk

Subversion Repositories gecko4

[/] [gecko4/] [trunk/] [GECKO4com/] [spartan200_an/] [Makefile.modelsim] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 ktt1
################################################################################
2
##            _   _            __   ____                                      ##
3
##           / / | |          / _| |  __|                                     ##
4
##           | |_| |  _   _  / /   | |_                                       ##
5
##           |  _  | | | | | | |   |  _|                                      ##
6
##           | | | | | |_| | \ \_  | |__                                      ##
7
##           |_| |_| \_____|  \__| |____| microLab                            ##
8
##                                                                            ##
9
##           Bern University of Applied Sciences (BFH)                        ##
10
##           Quellgasse 21                                                    ##
11
##           Room HG 4.33                                                     ##
12
##           2501 Biel/Bienne                                                 ##
13
##           Switzerland                                                      ##
14
##                                                                            ##
15
##           http://www.microlab.ch                                           ##
16
################################################################################
17
VHDL_FILES := $(shell cat $(REL_PATH)/$(PROJECT_LIST))
18
TOPLEVEL := $(shell cat $(REL_PATH)/$(PROJECT_TOP))
19
MODELSIM_LIB=vlib
20
MODELSIM_VHDL_COMP=vcom
21
MODELSIM_VERILOG_COMP=vlog
22
MODELSIM_SIM=vsim
23
 
24
define run_modelsim
25
rm -rf work
26
$(MODELSIM_LIB) work
27
echo -e $(foreach file, $(VHDL_FILES) , "$(REL_PATH)/vhdl/$(file)\n" ) | xargs $(MODELSIM_VHDL_COMP)
28
$(MODELSIM_SIM) -do $(REL_PATH)/$(PROJECT_FORCE)
29
endef #run_modelsim
30
 
31
default: $(REL_PATH)/$(PROJECT_LIST) $(REL_PATH)/$(PROJECT_FORCE)
32
        @$(run_modelsim)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.