Makefile
1.32 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
#
div_rom:
make BLOCK=div_rom div_rom.mcp
#############################
# generic definitions
SRCDIR = ../src
LIBPATH = compass lib_patches ne35hd130d ne35ro110h ne35ro110d vsnl000x vlogdp010d cmosch000x
#############################
# 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
-/sbin/rm -f *.ly *.cif
-/sbin/rm -f *.lg
#############################
# 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