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

Subversion Repositories lxp32

[/] [lxp32/] [trunk/] [verify/] [lxp32/] [run/] [vsim/] [Makefile] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 ring0_mipt
include ../../src/make/sources.make
2
 
3
VCOMFLAGS=-93
4
VSIMFLAGS=-t 1ps
5
 
6
########################
7
# Phony targets
8
########################
9
 
10
all: batch
11
 
12
.PHONY: all compile batch gui clean
13
 
14
compile: compile.stamp
15
 
16
batch: compile.stamp
17
        vsim $(VSIMFLAGS) -do "run -all; quit -f" -c work.$(TB_MOD)
18
 
19
gui: compile.stamp
20
        vsim $(VSIMFLAGS) work.$(TB_MOD)
21
 
22
clean:
23
        rm -rf work
24
        rm -f modelsim.ini
25
        rm -f transcript
26
        rm -f vsim.wlf
27
        rm -f $(FIRMWARE)
28
        rm -f compile.stamp
29
 
30
########################
31
# Normal targets
32
########################
33
 
34
compile.stamp: $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC) $(FIRMWARE) | work
35
        vcom $(VCOMFLAGS) $(LXP32_RTL) $(COMMON_SRC) $(PLATFORM_RTL) $(TB_SRC)
36
        echo > compile.stamp
37
 
38
work:
39
        vlib work
40
        vmap work work
41
 
42
%.ram: $(FW_SRC_DIR)/%.asm
43
        $(ASM) -f textio $^ -o $@

powered by: WebSVN 2.1.0

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