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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [include/] [Makefile.core] - Blame information for rev 179

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 arniml
 
2
SIM_DIR   = $(PROJECT_DIR)/sim/rtl_sim
3
VERIF_DIR = $(PROJECT_DIR)/sw/verif
4
 
5
# determine allowed targets
6 124 arniml
TARGETS = $(wildcard t4* int mb prod)
7 2 arniml
 
8
.PHONY: all
9
all: $(TARGETS)
10
 
11
.PHONY: t41x
12
t41x: $(SIM_DIR)/rom_41x.hex
13
 
14
.PHONY: t42x
15 16 arniml
t42x: $(SIM_DIR)/rom_42x.hex
16 2 arniml
 
17 149 arniml
.PHONY: t420
18
t420: t42x
19
 
20 62 arniml
.PHONY: int
21 119 arniml
int: t42x
22 62 arniml
 
23 119 arniml
.PHONY: mb
24
mb: t42x
25
 
26 124 arniml
.PHONY: prod
27
prod: t42x
28
 
29 2 arniml
$(SIM_DIR)/rom_41x.hex: $(MODULE)_41x.p
30
        p2hex $< $@
31
 
32
$(SIM_DIR)/rom_42x.hex: $(MODULE)_42x.p
33
        p2hex $< $@
34
 
35
$(MODULE)_41x.p: $(MODULE).asm
36
        asl -i $(VERIF_DIR)/include -cpu COP410 -L \
37
            -o $(MODULE)_41x.p -olist $(MODULE)_41x.lst $<
38
 
39
$(MODULE)_42x.p: $(MODULE).asm
40
        asl -i $(VERIF_DIR)/include -cpu COP420 -L \
41
            -o $(MODULE)_42x.p -olist $(MODULE)_42x.lst $<
42
 
43
.PHONY: clean
44
clean:
45
        rm -f *.p *~ *.lst

powered by: WebSVN 2.1.0

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