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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_1_beta/] [sim/] [rtl_sim/] [Makefile.ghdl] - Blame information for rev 292

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 77 arniml
ANALYZE   = ghdl -a --std=87 --workdir=$(LIB_WORK)
20 9 arniml
 
21 77 arniml
ELABORATE = ghdl -e --std=87 --workdir=$(LIB_WORK)
22 9 arniml
 
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 79 arniml
if_timing_behav_c0 = $(LIB_WORK)/if_timing-c.o
36
if_timing = $(LIB_WORK)/if_timing.o
37 11 arniml
t8048_struct_c0 = $(LIB_WORK)/t8048-c.o
38
t8048 = $(LIB_WORK)/t8048.o
39 71 arniml
t8039_struct_c0 = $(LIB_WORK)/t8039-c.o
40
t8039 = $(LIB_WORK)/t8039.o
41 9 arniml
t48_tb_pack = $(LIB_WORK)/t48_tb_pack-p.o
42
t48_pack = $(LIB_WORK)/t48_pack-p.o
43
t48_core_struct_c0 = $(LIB_WORK)/t48_core-c.o
44
t48_core = $(LIB_WORK)/t48_core.o
45
t48_core_comp_pack = $(LIB_WORK)/t48_core_comp_pack-p.o
46
t48_comp_pack = $(LIB_WORK)/t48_comp_pack-p.o
47
syn_rom = $(LIB_WORK)/syn_rom-e.o
48
syn_rom-lpm-a = $(LIB_WORK)/syn_rom-lpm-a.o
49
syn_rom_lpm_c0 = $(LIB_WORK)/syn_rom-lpm-c.o
50
lpm_rom = $(LIB_WORK)/lpm_rom.o
51
syn_ram = $(LIB_WORK)/syn_ram-e.o
52
syn_ram-lpm-a = $(LIB_WORK)/syn_ram-lpm-a.o
53
syn_ram_lpm_c0 = $(LIB_WORK)/syn_ram-lpm-c.o
54
lpm_ram_dq = $(LIB_WORK)/lpm_ram_dq.o
55
psw_rtl_c0 = $(LIB_WORK)/psw-c.o
56
psw = $(LIB_WORK)/psw.o
57
pmem_ctrl_rtl_c0 = $(LIB_WORK)/pmem_ctrl-c.o
58
pmem_ctrl_pack = $(LIB_WORK)/pmem_ctrl_pack-p.o
59
pmem_ctrl = $(LIB_WORK)/pmem_ctrl.o
60
p2_rtl_c0 = $(LIB_WORK)/p2-c.o
61
p2 = $(LIB_WORK)/p2.o
62
p1_rtl_c0 = $(LIB_WORK)/p1-c.o
63
p1 = $(LIB_WORK)/p1.o
64
timer_rtl_c0 = $(LIB_WORK)/timer-c.o
65
timer = $(LIB_WORK)/timer.o
66
opc_table_rtl_c0 = $(LIB_WORK)/opc_table-c.o
67
opc_table = $(LIB_WORK)/opc_table.o
68
opc_decoder_rtl_c0 = $(LIB_WORK)/opc_decoder-c.o
69
opc_decoder = $(LIB_WORK)/opc_decoder.o
70
int_rtl_c0 = $(LIB_WORK)/int-c.o
71
int = $(LIB_WORK)/int.o
72
dmem_ctrl_rtl_c0 = $(LIB_WORK)/dmem_ctrl-c.o
73
dmem_ctrl_pack = $(LIB_WORK)/dmem_ctrl_pack-p.o
74
dmem_ctrl = $(LIB_WORK)/dmem_ctrl.o
75
decoder_rtl_c0 = $(LIB_WORK)/decoder-c.o
76
decoder_pack = $(LIB_WORK)/decoder_pack-p.o
77
decoder = $(LIB_WORK)/decoder.o
78
db_bus_rtl_c0 = $(LIB_WORK)/db_bus-c.o
79
db_bus = $(LIB_WORK)/db_bus.o
80
cond_branch_rtl_c0 = $(LIB_WORK)/cond_branch-c.o
81
cond_branch_pack = $(LIB_WORK)/cond_branch_pack-p.o
82
cond_branch = $(LIB_WORK)/cond_branch.o
83
clock_ctrl_rtl_c0 = $(LIB_WORK)/clock_ctrl-c.o
84
clock_ctrl = $(LIB_WORK)/clock_ctrl.o
85
bus_mux_rtl_c0 = $(LIB_WORK)/bus_mux-c.o
86
bus_mux = $(LIB_WORK)/bus_mux.o
87
alu_rtl_c0 = $(LIB_WORK)/alu-c.o
88
alu_pack = $(LIB_WORK)/alu_pack-p.o
89
alu = $(LIB_WORK)/alu.o
90 11 arniml
#
91
##############################################################################
92 9 arniml
 
93
 
94 11 arniml
##############################################################################
95 75 arniml
# The default target for elaboration
96
#
97
.PHONY: all
98
all: elaborate
99
#
100
##############################################################################
101
 
102
 
103
##############################################################################
104 11 arniml
# The elaboration targets
105
#
106 71 arniml
tb_elab       = tb_behav_c0
107
tb_t8048_elab = tb_t8048_behav_c0
108
tb_t8039_elab = tb_t8039_behav_c0
109 11 arniml
#
110
##############################################################################
111
 
112
 
113
##############################################################################
114
# Tool-specific elaboration rules
115
#
116 9 arniml
$(tb_elab) : $(tb_behav_c0)
117
        $(ELABORATE) tb_behav_c0; \
118
        strip tb_behav_c0
119
 
120
$(tb_t8048_elab) : $(tb_t8048_behav_c0)
121
        $(ELABORATE) tb_t8048_behav_c0; \
122
        strip tb_t8048_behav_c0
123
 
124 71 arniml
$(tb_t8039_elab) : $(tb_t8039_behav_c0)
125
        $(ELABORATE) tb_t8039_behav_c0; \
126
        strip tb_t8039_behav_c0
127
 
128 9 arniml
.PHONY: elaborate
129 71 arniml
elaborate: $(LIB_WORK) $(tb_elab) $(tb_t8048_elab) $(tb_t8039_elab)
130 11 arniml
#
131
##############################################################################
132 9 arniml
 
133 11 arniml
 
134 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.