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

Subversion Repositories lxp32

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

Only display areas with differences | Details | Blame | View Log

Rev 6 Rev 9
include ../../src/make/sources.make
include ../../src/make/sources.make
GHDL_FLAGS=--std=93
GHDL_FLAGS=--std=93
WAVE_VCD=wave.vcd
WAVE_VCD=wave.vcd
WAVE_OUT=wave.fst
WAVE_OUT=wave.fst
########################
########################
# Phony targets
# Phony targets
########################
########################
all: batch
all: batch
.PHONY: all compile batch gui clean
.PHONY: all compile batch gui clean
.PRECIOUS: $(WAVE_OUT)
.PRECIOUS: $(WAVE_OUT)
compile: compile.stamp
compile: compile.stamp
batch: compile.stamp
batch: compile.stamp
        ghdl -r $(GHDL_FLAGS) $(TB_MOD)
        ghdl -r $(GHDL_FLAGS) $(TB_MOD)
gui: $(WAVE_OUT)
gui: $(WAVE_OUT)
        gtkwave $(WAVE_OUT)
        gtkwave $(WAVE_OUT)
clean:
clean:
        rm -f *.cf
        rm -f *.cf
        rm -f $(WAVE_VCD)
        rm -f $(WAVE_VCD)
        rm -f $(WAVE_OUT)
        rm -f $(WAVE_OUT)
        rm -f *.o
        rm -f *.o
        rm -f $(TB_MOD)
        rm -f $(TB_MOD)
        rm -f compile.stamp
        rm -f compile.stamp
########################
########################
# Normal targets
# Normal targets
########################
########################
$(WAVE_OUT): $(WAVE_VCD)
$(WAVE_OUT): $(WAVE_VCD)
        vcd2fst $^ $@
        vcd2fst $^ $@
$(WAVE_VCD): compile.stamp
$(WAVE_VCD): compile.stamp
        ghdl -r $(GHDL_FLAGS) $(TB_MOD) --vcd=$(WAVE_VCD)
        ghdl -r $(GHDL_FLAGS) $(TB_MOD) --vcd=$(WAVE_VCD)
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        ghdl -a $(GHDL_FLAGS) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        ghdl -a $(GHDL_FLAGS) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC)
        ghdl -e $(GHDL_FLAGS) $(TB_MOD)
        ghdl -e $(GHDL_FLAGS) $(TB_MOD)
        echo > compile.stamp
        echo > compile.stamp
 
 

powered by: WebSVN 2.1.0

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