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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_6__beta/] [sim/] [rtl_sim/] [Makefile.ghdl] - Blame information for rev 75

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

Line No. Rev Author Line
1 16 arniml
##############################################################################
2 11 arniml
#
3
# Tool-specific Makefile for the GHDL compiler.
4
#
5 16 arniml
# It sets all variables needed for VHDL code compilation with Makefile.hier.
6 11 arniml
#
7
#
8
# Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
9
#
10
# All rights reserved
11
#
12
##############################################################################
13
 
14
 
15 9 arniml
LIB_WORK  = ghdl-work
16
 
17 71 arniml
CLEAN     = ghdl --clean --std=87 --workdir=$(LIB_WORK); rm -f tb_*_c0
18 9 arniml
 
19
ANALYZE   = ghdl -a --ieee=synopsys --std=87 --workdir=$(LIB_WORK)
20
 
21
ELABORATE = ghdl -e --ieee=synopsys --std=87 --workdir=$(LIB_WORK)
22
 
23
MAKE_LIB  = mkdir -p $(LIB_WORK)
24
 
25 11 arniml
 
26
##############################################################################
27
# The analyze targets
28
#
29 71 arniml
tb_t8039_behav_c0 = $(LIB_WORK)/tb_t8039-c.o
30
tb_t8039 = $(LIB_WORK)/tb_t8039.o
31 11 arniml
tb_t8048_behav_c0 = $(LIB_WORK)/tb_t8048-c.o
32
tb_t8048 = $(LIB_WORK)/tb_t8048.o
33
tb_behav_c0 = $(LIB_WORK)/tb-c.o
34
tb = $(LIB_WORK)/tb.o
35
t8048_struct_c0 = $(LIB_WORK)/t8048-c.o
36
t8048 = $(LIB_WORK)/t8048.o
37 71 arniml
t8039_struct_c0 = $(LIB_WORK)/t8039-c.o
38
t8039 = $(LIB_WORK)/t8039.o
39 9 arniml
t48_tb_pack = $(LIB_WORK)/t48_tb_pack-p.o
40
t48_pack = $(LIB_WORK)/t48_pack-p.o
41
t48_core_struct_c0 = $(LIB_WORK)/t48_core-c.o
42
t48_core = $(LIB_WORK)/t48_core.o
43
t48_core_comp_pack = $(LIB_WORK)/t48_core_comp_pack-p.o
44
t48_comp_pack = $(LIB_WORK)/t48_comp_pack-p.o
45
syn_rom = $(LIB_WORK)/syn_rom-e.o
46
syn_rom-lpm-a = $(LIB_WORK)/syn_rom-lpm-a.o
47
syn_rom_lpm_c0 = $(LIB_WORK)/syn_rom-lpm-c.o
48
lpm_rom = $(LIB_WORK)/lpm_rom.o
49
syn_ram = $(LIB_WORK)/syn_ram-e.o
50
syn_ram-lpm-a = $(LIB_WORK)/syn_ram-lpm-a.o
51
syn_ram_lpm_c0 = $(LIB_WORK)/syn_ram-lpm-c.o
52
lpm_ram_dq = $(LIB_WORK)/lpm_ram_dq.o
53
psw_rtl_c0 = $(LIB_WORK)/psw-c.o
54
psw = $(LIB_WORK)/psw.o
55
pmem_ctrl_rtl_c0 = $(LIB_WORK)/pmem_ctrl-c.o
56
pmem_ctrl_pack = $(LIB_WORK)/pmem_ctrl_pack-p.o
57
pmem_ctrl = $(LIB_WORK)/pmem_ctrl.o
58
p2_rtl_c0 = $(LIB_WORK)/p2-c.o
59
p2 = $(LIB_WORK)/p2.o
60
p1_rtl_c0 = $(LIB_WORK)/p1-c.o
61
p1 = $(LIB_WORK)/p1.o
62
timer_rtl_c0 = $(LIB_WORK)/timer-c.o
63
timer = $(LIB_WORK)/timer.o
64
opc_table_rtl_c0 = $(LIB_WORK)/opc_table-c.o
65
opc_table = $(LIB_WORK)/opc_table.o
66
opc_decoder_rtl_c0 = $(LIB_WORK)/opc_decoder-c.o
67
opc_decoder = $(LIB_WORK)/opc_decoder.o
68
int_rtl_c0 = $(LIB_WORK)/int-c.o
69
int = $(LIB_WORK)/int.o
70
dmem_ctrl_rtl_c0 = $(LIB_WORK)/dmem_ctrl-c.o
71
dmem_ctrl_pack = $(LIB_WORK)/dmem_ctrl_pack-p.o
72
dmem_ctrl = $(LIB_WORK)/dmem_ctrl.o
73
decoder_rtl_c0 = $(LIB_WORK)/decoder-c.o
74
decoder_pack = $(LIB_WORK)/decoder_pack-p.o
75
decoder = $(LIB_WORK)/decoder.o
76
db_bus_rtl_c0 = $(LIB_WORK)/db_bus-c.o
77
db_bus = $(LIB_WORK)/db_bus.o
78
cond_branch_rtl_c0 = $(LIB_WORK)/cond_branch-c.o
79
cond_branch_pack = $(LIB_WORK)/cond_branch_pack-p.o
80
cond_branch = $(LIB_WORK)/cond_branch.o
81
clock_ctrl_rtl_c0 = $(LIB_WORK)/clock_ctrl-c.o
82
clock_ctrl = $(LIB_WORK)/clock_ctrl.o
83
bus_mux_rtl_c0 = $(LIB_WORK)/bus_mux-c.o
84
bus_mux = $(LIB_WORK)/bus_mux.o
85
alu_rtl_c0 = $(LIB_WORK)/alu-c.o
86
alu_pack = $(LIB_WORK)/alu_pack-p.o
87
alu = $(LIB_WORK)/alu.o
88 11 arniml
#
89
##############################################################################
90 9 arniml
 
91
 
92 11 arniml
##############################################################################
93 75 arniml
# The default target for elaboration
94
#
95
.PHONY: all
96
all: elaborate
97
#
98
##############################################################################
99
 
100
 
101
##############################################################################
102 11 arniml
# The elaboration targets
103
#
104 71 arniml
tb_elab       = tb_behav_c0
105
tb_t8048_elab = tb_t8048_behav_c0
106
tb_t8039_elab = tb_t8039_behav_c0
107 11 arniml
#
108
##############################################################################
109
 
110
 
111
##############################################################################
112
# Tool-specific elaboration rules
113
#
114 9 arniml
$(tb_elab) : $(tb_behav_c0)
115
        $(ELABORATE) tb_behav_c0; \
116
        strip tb_behav_c0
117
 
118
$(tb_t8048_elab) : $(tb_t8048_behav_c0)
119
        $(ELABORATE) tb_t8048_behav_c0; \
120
        strip tb_t8048_behav_c0
121
 
122 71 arniml
$(tb_t8039_elab) : $(tb_t8039_behav_c0)
123
        $(ELABORATE) tb_t8039_behav_c0; \
124
        strip tb_t8039_behav_c0
125
 
126 9 arniml
.PHONY: elaborate
127 71 arniml
elaborate: $(LIB_WORK) $(tb_elab) $(tb_t8048_elab) $(tb_t8039_elab)
128 11 arniml
#
129
##############################################################################
130 9 arniml
 
131 11 arniml
 
132 9 arniml
include Makefile.hier

powered by: WebSVN 2.1.0

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