URL
https://opencores.org/ocsvn/lxp32/lxp32/trunk
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 $(FIRMWARE)
|
rm -f $(FIRMWARE)
|
rm -f compile.stamp
|
rm -f compile.stamp
|
|
|
########################
|
########################
|
# Normal targets
|
# Normal targets
|
########################
|
########################
|
|
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE)
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE)
|
xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
|
xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(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
|
|
|
%.ram: $(FW_SRC_DIR)/%.asm
|
%.ram: $(FW_SRC_DIR)/%.asm
|
$(ASM) -f textio $^ -o $@
|
$(ASM) -f textio $^ -o $@
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.