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

Subversion Repositories lxp32

[/] [lxp32/] [trunk/] [verify/] [lxp32/] [run/] [ghdl/] [Makefile] - Diff between revs 2 and 6

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 $@

powered by: WebSVN 2.1.0

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