Makefile
2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
#############################################
# Source files #
#############################################
RCPDIR = ../..
SRCDIR = ../src
RDP_SRC = $(SRCDIR)/rdp.v
AT_EDF = $(RCPDIR)/at/syn/at.edf
EP_EDF = $(RCPDIR)/ep/syn/ep.edf
ST_EDF = $(RCPDIR)/st/syn/st.edf
BL_EDF = $(RCPDIR)/bl/syn/bl.edf
CC_EDF = $(RCPDIR)/cc/syn/cc.edf
CS_EDF = $(RCPDIR)/cs/syn/cs.edf
TC_EDF = $(RCPDIR)/tc/syn/tc.edf
MS_EDF = $(RCPDIR)/ms/syn/ms.edf
EW_EDF = $(RCPDIR)/ew/syn/ew.edf
CV_EDF = $(RCPDIR)/cv/syn/cv.edf
TF_EDF = $(RCPDIR)/tf/syn/tf.edf
TM_EDF = $(RCPDIR)/tm/syn/tm.edf
EDF_P = bl_logic.edf_p cc_logic.edf_p tc_logic.edf_p \
cs_ew_cv.edf_p tm_tf.edf_p memspan.edf_p rdp.edf_p
ALL_BLOCKS = bl_logic.edf cc_logic.edf tc_logic.edf \
cs_ew_cv.edf tm_tf.edf memspan.edf
rdp.edf: rdp.ss rdp.edf_p $(ALL_BLOCKS)
dc_shell -f rdp.ss | tee rdp.synlog
bl_logic.edf: bl_logic.ss bl_logic.edf_p $(BL_EDF) $(AT_EDF) $(ST_EDF)
dc_shell -f bl_logic.ss | tee bl_logic.synlog
cc_logic.edf: cc_logic.ss cc_logic.edf_p $(CC_EDF) $(AT_EDF) $(EP_EDF) $(ST_EDF)
dc_shell -f cc_logic.ss | tee cc_logic.synlog
tc_logic.edf: tc_logic.ss tc_logic.edf_p $(TC_EDF) $(AT_EDF) $(EP_EDF) $(ST_EDF)
dc_shell -f tc_logic.ss | tee tc_logic.synlog
cs_ew_cv.edf: cs_ew_cv.ss cs_ew_cv.edf_p $(CS_EDF) $(EW_EDF) $(CV_EDF) $(AT_EDF)
dc_shell -f cs_ew_cv.ss | tee cs_ew_cv.synlog
tm_tf.edf: tm_tf.ss tm_tf.edf_p $(TM_EDF) $(TF_EDF)
dc_shell -f tm_tf.ss | tee tm_tf.synlog
memspan.edf: memspan.ss memspan.edf_p $(MS_EDF) $(AT_EDF)
dc_shell -f memspan.ss | tee memspan.synlog
$(EDF_P): $(RDP_SRC) rdp_partition.ss
dc_shell -f rdp_partition.ss | tee rdp_partition.synlog
# block-level makes
check_blocks:
cd $(RCPDIR)/at/syn; make -n
cd $(RCPDIR)/ep/syn; make -n
cd $(RCPDIR)/ew/syn; make -n
cd $(RCPDIR)/st/syn; make -n
cd $(RCPDIR)/bl/syn; make -n
cd $(RCPDIR)/cc/syn; make -n
cd $(RCPDIR)/cs/syn; make -n
cd $(RCPDIR)/tc/syn; make -n
cd $(RCPDIR)/ms/syn; make -n
cd $(RCPDIR)/cv/syn; make -n
cd $(RCPDIR)/tm/syn; make -n
cd $(RCPDIR)/tf/syn; make -n