Makefile
1.68 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
72
73
74
75
76
77
78
#
all: vudp div_rom
vudp:
make BLOCK=vudp vudp.mcp
div_rom:
make BLOCK=div_rom div_rom.mcp
#############################
# generic definitions
SRCDIR = ../src
LIBPATH = compass lib_patches ne35hd130d ne35dp120d nece01_sgid ne35io120d ne35ro110d vsnl000x vlogdp010d cmosch000x
#############################
# copy datapath schematic
vudatapath.la: $(SRCDIR)/vudatapath.la
/sbin/rm -f vudatapath.la
cp $(SRCDIR)/vudatapath.la .
#############################
# datapath layout
vudp.mcp: vudatapath.la vudp.dprscr compass_files
-/sbin/rm -f vudp*.nls*
-/sbin/rm -f vudp.pcl
csh vudp.dprscr | tee vudp.dprlog
#############################
# copy div_rom code file
div_rom.cod: $(SRCDIR)/div_rom.cod
/sbin/rm -f div_rom.cod
cp $(SRCDIR)/div_rom.cod .
#############################
# div_rom layout
div_rom.mcp: div_rom.cod div_rom.dprscr compass_files
-/sbin/rm -f div*.nls*
-/sbin/rm -f div_rom.pcl
csh div_rom.dprscr | tee div_rom.dprlog
#############################
# compass files
compass_files: compass.db vlsi.idx vlsi.atr vlsi.boo
compass.db:
@/sbin/echo "Creating ./compass.db ..."
@/sbin/echo "v1(0,compass)" > compass.db
vlsi.idx:
@/sbin/echo "Creating ./vlsi.idx ..."
@/sbin/echo "compass" > 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
vlsi.boo:
@/sbin/echo "Creating ./vlsi.boo ..."
@/sbin/echo "# layout directory vlsi.boo" > vlsi.boo
@/sbin/echo "" >> vlsi.boo
@/sbin/echo "cell_library compass ." >> vlsi.boo
@/sbin/echo "search_path $(LIBPATH)" >> vlsi.boo
@/sbin/echo "" >> vlsi.boo