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

Subversion Repositories lxp32

[/] [lxp32/] [trunk/] [verify/] [icache/] [run/] [vsim/] [Makefile] - Rev 9

Compare with Previous | Blame | View Log

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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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