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

Subversion Repositories t400

[/] [t400/] [tags/] [rel_1_1/] [sw/] [verif/] [include/] [Makefile.core] - Blame information for rev 124

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 62 arniml
.PHONY: int
18 119 arniml
int: t42x
19 62 arniml
 
20 119 arniml
.PHONY: mb
21
mb: t42x
22
 
23 124 arniml
.PHONY: prod
24
prod: t42x
25
 
26 2 arniml
$(SIM_DIR)/rom_41x.hex: $(MODULE)_41x.p
27
        p2hex $< $@
28
 
29
$(SIM_DIR)/rom_42x.hex: $(MODULE)_42x.p
30
        p2hex $< $@
31
 
32
$(MODULE)_41x.p: $(MODULE).asm
33
        asl -i $(VERIF_DIR)/include -cpu COP410 -L \
34
            -o $(MODULE)_41x.p -olist $(MODULE)_41x.lst $<
35
 
36
$(MODULE)_42x.p: $(MODULE).asm
37
        asl -i $(VERIF_DIR)/include -cpu COP420 -L \
38
            -o $(MODULE)_42x.p -olist $(MODULE)_42x.lst $<
39
 
40
.PHONY: clean
41
clean:
42
        rm -f *.p *~ *.lst

powered by: WebSVN 2.1.0

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