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/lxp32/run/vsim
    from Rev 6 to Rev 9
    Reverse comparison

Rev 6 → Rev 9

/.gitignore
1,7 → 1,7
/work
*.ram
*.stamp
*.wlf
*.ini
*.o
transcript
/work
*.ram
*.stamp
*.wlf
*.ini
*.o
transcript
/Makefile
1,43 → 1,43
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 $(FIRMWARE)
rm -f compile.stamp
 
########################
# Normal targets
########################
 
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE) | work
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
echo > compile.stamp
 
work:
vlib work
vmap work work
 
%.ram: $(FW_SRC_DIR)/%.asm
$(ASM) -f textio $^ -o $@
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 $(FIRMWARE)
rm -f compile.stamp
 
########################
# Normal targets
########################
 
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE) | work
vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
echo > compile.stamp
 
work:
vlib work
vmap work work
 
%.ram: $(FW_SRC_DIR)/%.asm
$(ASM) -f textio $^ -o $@

powered by: WebSVN 2.1.0

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