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

Subversion Repositories lxp32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /lxp32/trunk/verify/icache/run/ghdl
    from Rev 6 to Rev 9
    Reverse comparison

Rev 6 → Rev 9

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

powered by: WebSVN 2.1.0

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