Makefile
1.44 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
############################
# block variable definitions
BLOCK = pi
REALITYBIN = /ecad/reality/bin
COMPASS_FILES = verify.db vlsi.idx vlsi.atr
#############################
# default target
verify.log: $(BLOCK).verlog
#############################
# cleanup target
clean:
/sbin/rm -f *.nls* *.cc* *.cp* *.mcp* *_stats.txt*
#############################
# compass files
verify.db:
@/sbin/echo "Creating ./verify.db ..."
@/sbin/echo "v1(0,verify)" > verify.db
vlsi.idx:
@/sbin/echo "Creating ./vlsi.idx ..."
@/sbin/echo "verify" > vlsi.idx
vlsi.atr:
@/sbin/echo "Creating ./vlsi.atr ..."
@/sbin/echo '\"7-Jun-94\" \"8:42\"' > vlsi.atr
@/sbin/echo "anyone" >> vlsi.atr
@/sbin/echo "working" >> vlsi.atr
@/sbin/echo "2" >> vlsi.atr
#############################
# verify target
$(BLOCK).verlog: $(BLOCK).cif $(COMPASS_FILES)
-/sbin/rm -f *.verlog
csh $(BLOCK).verscr | tee $(BLOCK).verlog
#############################
# merged cif
$(BLOCK).cif: $(BLOCK).merscr $(COMPASS_FILES)
-/sbin/rm -f *.cif
csh $(BLOCK).merscr | tee $(BLOCK).merlog
$(BLOCK).drclog: $(BLOCK).cif $(COMPASS_FILES)
-/sbin/rm -f *.drclog
csh $(BLOCK).drcscr | tee $(BLOCK).drclog
$(BLOCK).netcmplog: $(BLOCK).cif $(COMPASS_FILES)
-/sbin/rm -f *.netcmplog
csh $(BLOCK).netcmpscr | tee $(BLOCK).netcmplog
$(BLOCK).phnetcmplog: $(BLOCK).phnetcmpscr $(COMPASS_FILES)
-/sbin/rm -f *.netcmplog
csh $(BLOCK).phnetcmpscr | tee $(BLOCK).phnetcmplog