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
- from Rev 6 to Rev 9
- ↔ Reverse comparison
Rev 6 → Rev 9
/ghdl/.gitignore
1,5 → 1,5
*.vcd |
*.cf |
*.o |
tb |
compile.stamp |
*.vcd |
*.cf |
*.o |
tb |
compile.stamp |
/ghdl/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 |
/vsim/.gitignore
1,6 → 1,6
/work |
*.stamp |
*.wlf |
*.ini |
*.o |
transcript |
/work |
*.stamp |
*.wlf |
*.ini |
*.o |
transcript |
/vsim/Makefile
1,39 → 1,39
include ../../src/make/sources.make |
|
VCOMFLAGS=-93 |
VSIMFLAGS=-t 1ps |
|
######################## |
# Phony targets |
######################## |
|
all: batch |
|
.PHONY: all compile batch gui clean |
|
compile: compile.stamp |
|
batch: compile.stamp |
vsim $(VSIMFLAGS) -do "run -all; quit -f" -c work.$(TB_MOD) |
|
gui: compile.stamp |
vsim $(VSIMFLAGS) work.$(TB_MOD) |
|
clean: |
rm -rf work |
rm -f modelsim.ini |
rm -f transcript |
rm -f vsim.wlf |
rm -f compile.stamp |
|
######################## |
# Normal targets |
######################## |
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) | work |
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
echo > compile.stamp |
|
work: |
vlib work |
vmap work work |
include ../../src/make/sources.make |
|
VCOMFLAGS=-93 |
VSIMFLAGS=-t 1ps |
|
######################## |
# Phony targets |
######################## |
|
all: batch |
|
.PHONY: all compile batch gui clean |
|
compile: compile.stamp |
|
batch: compile.stamp |
vsim $(VSIMFLAGS) -do "run -all; quit -f" -c work.$(TB_MOD) |
|
gui: compile.stamp |
vsim $(VSIMFLAGS) work.$(TB_MOD) |
|
clean: |
rm -rf work |
rm -f modelsim.ini |
rm -f transcript |
rm -f vsim.wlf |
rm -f compile.stamp |
|
######################## |
# Normal targets |
######################## |
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) | work |
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
echo > compile.stamp |
|
work: |
vlib work |
vmap work work |
/xsim/.gitignore
1,10 → 1,10
/.Xil |
/xsim.dir |
webtalk* |
xelab* |
xsim* |
xvhdl* |
hs_err* |
vivado* |
*.stamp |
*.wdb |
/.Xil |
/xsim.dir |
webtalk* |
xelab* |
xsim* |
xvhdl* |
hs_err* |
vivado* |
*.stamp |
*.wdb |
/xsim/Makefile
1,44 → 1,44
include ../../src/make/sources.make |
|
ifeq ($(findstring Windows,$(OS)),) |
BAT= |
else |
BAT=.bat |
endif |
|
######################## |
# Phony targets |
######################## |
|
all: batch |
|
.PHONY: all compile batch gui clean |
|
compile: compile.stamp |
|
batch: compile.stamp |
xsim$(BAT) -R tb_sim |
|
gui: compile.stamp |
xsim$(BAT) -g -onfinish stop -onerror stop tb_sim |
|
clean: |
rm -rf .Xil |
rm -rf xsim.dir |
rm -f webtalk* |
rm -f xelab* |
rm -f xsim* |
rm -f xvhdl* |
rm -f hs_err* |
rm -f vivado* |
rm -f *.wdb |
rm -f compile.stamp |
|
######################## |
# Normal targets |
######################## |
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
xelab$(BAT) work.tb -s tb_sim -debug typical |
echo > compile.stamp |
include ../../src/make/sources.make |
|
ifeq ($(findstring Windows,$(OS)),) |
BAT= |
else |
BAT=.bat |
endif |
|
######################## |
# Phony targets |
######################## |
|
all: batch |
|
.PHONY: all compile batch gui clean |
|
compile: compile.stamp |
|
batch: compile.stamp |
xsim$(BAT) -R tb_sim |
|
gui: compile.stamp |
xsim$(BAT) -g -onfinish stop -onerror stop tb_sim |
|
clean: |
rm -rf .Xil |
rm -rf xsim.dir |
rm -f webtalk* |
rm -f xelab* |
rm -f xsim* |
rm -f xvhdl* |
rm -f hs_err* |
rm -f vivado* |
rm -f *.wdb |
rm -f compile.stamp |
|
######################## |
# Normal targets |
######################## |
|
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
xvhdl$(BAT) $(LXP32_RTL) $(COMMON_SRC) $(TB_SRC) |
xelab$(BAT) work.tb -s tb_sim -debug typical |
echo > compile.stamp |