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
|
|
|
VCOMFLAGS=-93
|
VCOMFLAGS=-93
|
VSIMFLAGS=-t 1ps
|
VSIMFLAGS=-t 1ps
|
|
|
########################
|
########################
|
# 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
|
vsim $(VSIMFLAGS) -do "run -all; quit -f" -c work.$(TB_MOD)
|
vsim $(VSIMFLAGS) -do "run -all; quit -f" -c work.$(TB_MOD)
|
|
|
gui: compile.stamp
|
gui: compile.stamp
|
vsim $(VSIMFLAGS) work.$(TB_MOD)
|
vsim $(VSIMFLAGS) work.$(TB_MOD)
|
|
|
clean:
|
clean:
|
rm -rf work
|
rm -rf work
|
rm -f modelsim.ini
|
rm -f modelsim.ini
|
rm -f transcript
|
rm -f transcript
|
rm -f vsim.wlf
|
rm -f vsim.wlf
|
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) | work
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE) | work
|
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
|
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
|
echo > compile.stamp
|
echo > compile.stamp
|
|
|
work:
|
work:
|
vlib work
|
vlib work
|
vmap work work
|
vmap work work
|
|
|
%.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.