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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [rtl/] [make_ise/] [generic_ghdl.mk] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 29 wfjm
# $Id: generic_ghdl.mk 646 2015-02-15 12:04:55Z mueller $
2 2 wfjm
#
3 29 wfjm
# Copyright 2007-2015 by Walter F.J. Mueller 
4
# License disclaimer see LICENSE_gpl_v2.txt in $RETROBASE directory
5
#
6 2 wfjm
#  Revision History:
7 19 wfjm
# Date         Rev Version  Comment
8 29 wfjm
# 2015-02-14   646   1.4    use --xlpath for vbomconv; drop cygwin support;
9 25 wfjm
# 2014-07-26   575   1.3.2  use XTWI_PATH now (ise/vivado switch done later)
10 19 wfjm
# 2013-01-27   477   1.3.1  use dontincdep.mk to suppress .dep include on clean
11 12 wfjm
# 2011-08-13   405   1.3    renamed, moved to rtl/make;
12 2 wfjm
# 2007-11-04    95   1.2.2  fix find statement in ghdl_tmp_clean
13
# 2007-11-02    94   1.2.1  don't delete cext_*.o in ghdl_tmp_clean
14
# 2007-07-08    65   1.2    support now autobuilding of _fsim and _tsim models
15
# 2007-06-16    57   1.1    cleanup ghdl_clean handling
16
# 2007-06-10    52   1.0    Initial version
17
#
18 29 wfjm
GHDLIEEE    = --ieee=synopsys
19
GHDLXLPATH  = $(XTWI_PATH)/ISE_DS/ISE/ghdl
20 2 wfjm
#
21
% : %.vbom
22
        vbomconv --ghdl_i $<
23 29 wfjm
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $<
24 2 wfjm
#
25
# rules for _[ft]sim to use 'virtual' [ft]sim vbom's  (derived from _ssim)
26
#
27
%_fsim : %_ssim.vbom
28
        vbomconv --ghdl_i $*_fsim.vbom
29 29 wfjm
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $*_fsim.vbom
30 2 wfjm
#
31
%_tsim : %_ssim.vbom
32
        vbomconv --ghdl_i $*_tsim.vbom
33 29 wfjm
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $*_tsim.vbom
34 2 wfjm
#
35
%.dep_ghdl: %.vbom
36
        vbomconv --dep_ghdl $< > $@
37
#
38 29 wfjm
include $(RETROBASE)/rtl/make_ise/dontincdep.mk
39 19 wfjm
#
40 12 wfjm
.PHONY: ghdl_clean ghdl_tmp_clean
41 2 wfjm
#
42
ghdl_clean: ghdl_tmp_clean
43
        rm -f $(EXE_all)
44
        rm -f $(EXE_all:%=%_[sft]sim)
45
        rm -f cext_*.o
46
#
47
ghdl_tmp_clean:
48
        find -maxdepth 1 -name "*.o" | grep -v "^\./cext_" | xargs rm -f
49
        rm -f work-obj93.cf
50
#

powered by: WebSVN 2.1.0

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