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

Subversion Repositories lxp32

[/] [lxp32/] [trunk/] [verify/] [icache/] [run/] [xsim/] [Makefile] - Diff between revs 6 and 9

Only display areas with differences | Details | Blame | View Log

Rev 6 Rev 9
include ../../src/make/sources.make
include ../../src/make/sources.make
ifeq ($(findstring Windows,$(OS)),)
ifeq ($(findstring Windows,$(OS)),)
        BAT=
        BAT=
else
else
        BAT=.bat
        BAT=.bat
endif
endif
########################
########################
# Phony targets
# Phony targets
########################
########################
all: batch
all: batch
.PHONY: all compile batch gui clean
.PHONY: all compile batch gui clean
compile: compile.stamp
compile: compile.stamp
batch: compile.stamp
batch: compile.stamp
        xsim$(BAT) -R tb_sim
        xsim$(BAT) -R tb_sim
gui: compile.stamp
gui: compile.stamp
        xsim$(BAT) -g -onfinish stop -onerror stop tb_sim
        xsim$(BAT) -g -onfinish stop -onerror stop tb_sim
clean:
clean:
        rm -rf .Xil
        rm -rf .Xil
        rm -rf xsim.dir
        rm -rf xsim.dir
        rm -f webtalk*
        rm -f webtalk*
        rm -f xelab*
        rm -f xelab*
        rm -f xsim*
        rm -f xsim*
        rm -f xvhdl*
        rm -f xvhdl*
        rm -f hs_err*
        rm -f hs_err*
        rm -f vivado*
        rm -f vivado*
        rm -f *.wdb
        rm -f *.wdb
        rm -f compile.stamp
        rm -f compile.stamp
########################
########################
# Normal targets
# Normal targets
########################
########################
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        xelab$(BAT) work.tb -s tb_sim -debug typical
        xelab$(BAT) work.tb -s tb_sim -debug typical
        echo > compile.stamp
        echo > compile.stamp
 
 

powered by: WebSVN 2.1.0

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