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

Subversion Repositories lxp32

[/] [lxp32/] [trunk/] [verify/] [icache/] [run/] [xsim/] [Makefile] - Rev 9

Compare with Previous | Blame | View Log

include ../../src/make/sources.make

ifeq ($(findstring Windows,$(OS)),)
        BAT=
else
        BAT=.bat
endif

########################
# Phony targets
########################

all: batch

.PHONY: all compile batch gui clean

compile: compile.stamp

batch: compile.stamp
        xsim$(BAT) -R tb_sim

gui: compile.stamp
        xsim$(BAT) -g -onfinish stop -onerror stop tb_sim

clean:
        rm -rf .Xil
        rm -rf xsim.dir
        rm -f webtalk*
        rm -f xelab*
        rm -f xsim*
        rm -f xvhdl*
        rm -f hs_err*
        rm -f vivado*
        rm -f *.wdb
        rm -f compile.stamp

########################
# Normal targets
########################

compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        xelab$(BAT) work.tb -s tb_sim -debug typical
        echo > compile.stamp

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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