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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [rtl/] [make_viv/] [generic_ghdl.mk] - Diff between revs 29 and 33

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 29 Rev 33
# $Id: generic_ghdl.mk 646 2015-02-15 12:04:55Z mueller $
# $Id: generic_ghdl.mk 646 2015-02-15 12:04:55Z mueller $
#
#
# Copyright 2015- by Walter F.J. Mueller 
# Copyright 2015- by Walter F.J. Mueller 
# License disclaimer see LICENSE_gpl_v2.txt in $RETROBASE directory
# License disclaimer see LICENSE_gpl_v2.txt in $RETROBASE directory
#
#
#  Revision History:
#  Revision History:
# Date         Rev Version  Comment
# Date         Rev Version  Comment
# 2015-02-14   646   1.0    Initial version (cloned from make_ise)
# 2015-02-14   646   1.0    Initial version (cloned from make_ise)
#
#
GHDLIEEE    = --ieee=synopsys
GHDLIEEE    = --ieee=synopsys
GHDLXLPATH  = $(XTWV_PATH)/ghdl
GHDLXLPATH  = $(XTWV_PATH)/ghdl
#
#
% : %.vbom
% : %.vbom
        vbomconv --ghdl_i $<
        vbomconv --ghdl_i $<
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $<
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $<
#
#
# rules for _[o]sim to use 'virtual' [o]sim vbom's  (derived from _ssim)
# rules for _[o]sim to use 'virtual' [o]sim vbom's  (derived from _ssim)
#
#
%_osim : %_ssim.vbom
%_osim : %_ssim.vbom
        vbomconv --ghdl_i $*_osim.vbom
        vbomconv --ghdl_i $*_osim.vbom
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $*_osim.vbom
        vbomconv --ghdl_m --xlpath=$(GHDLXLPATH) $*_osim.vbom
#
#
%.dep_ghdl: %.vbom
%.dep_ghdl: %.vbom
        vbomconv --dep_ghdl $< > $@
        vbomconv --dep_ghdl $< > $@
#
#
include $(RETROBASE)/rtl/make_ise/dontincdep.mk
include $(RETROBASE)/rtl/make_ise/dontincdep.mk
#
#
.PHONY: ghdl_clean ghdl_tmp_clean
.PHONY: ghdl_clean ghdl_tmp_clean
#
#
ghdl_clean: ghdl_tmp_clean
ghdl_clean: ghdl_tmp_clean
        rm -f $(EXE_all)
        rm -f $(EXE_all)
        rm -f $(EXE_all:%=%_[so]sim)
        rm -f $(EXE_all:%=%_[so]sim)
        rm -f cext_*.o
        rm -f cext_*.o
#
#
ghdl_tmp_clean:
ghdl_tmp_clean:
        find -maxdepth 1 -name "*.o" | grep -v "^\./cext_" | xargs rm -f
        find -maxdepth 1 -name "*.o" | grep -v "^\./cext_" | xargs rm -f
        rm -f work-obj93.cf
        rm -f work-obj93.cf
#
#
 
 

powered by: WebSVN 2.1.0

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