URL
https://opencores.org/ocsvn/lxp32/lxp32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 6 |
Line 11... |
Line 11... |
|
|
all: batch
|
all: batch
|
|
|
.PHONY: all compile batch gui clean
|
.PHONY: all compile batch gui clean
|
|
|
.PRECIOUS: $(WAVE_OUT)
|
.PRECIOUS: $(WAVE_OUT) $(WAVE_VCD)
|
|
|
compile: compile.stamp $(FIRMWARE)
|
compile: compile.stamp $(FIRMWARE)
|
|
|
batch: compile.stamp $(FIRMWARE)
|
batch: compile.stamp $(FIRMWARE)
|
ghdl -r $(GHDL_FLAGS) $(TB_MOD)
|
ghdl -r $(GHDL_FLAGS) $(TB_MOD)
|
Line 40... |
Line 40... |
vcd2fst $^ $@
|
vcd2fst $^ $@
|
|
|
$(WAVE_VCD): compile.stamp $(FIRMWARE)
|
$(WAVE_VCD): compile.stamp $(FIRMWARE)
|
ghdl -r $(GHDL_FLAGS) $(TB_MOD) --vcd=$(WAVE_VCD)
|
ghdl -r $(GHDL_FLAGS) $(TB_MOD) --vcd=$(WAVE_VCD)
|
|
|
compile.stamp: $(LXP32_RTL) $(PLATFORM_RTL) $(TB_SRC)
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
|
ghdl -a $(GHDL_FLAGS) $(LXP32_RTL) $(PLATFORM_RTL) $(TB_SRC)
|
ghdl -a $(GHDL_FLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
|
ghdl -e $(GHDL_FLAGS) $(TB_MOD)
|
ghdl -e $(GHDL_FLAGS) $(TB_MOD)
|
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-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.