Makefile 1.25 KB
#
BLOCK   =  sudp

all: sudp.mcp


#############################
# generic definitions

SRCDIR  =  ../src

COMPASS_FILES = compass.db vlsi.idx vlsi.atr vlsi.boo

LIBPATH = compass lib_patches ne35hd130d ne35dp120d nece01_sgid ne35io120d vsnl000x vlogdp010d cmosch000x vcc6ro2d

#############################
# copy datapath schematic

sudpschem.la: $(SRCDIR)/sudpschem.la
	/sbin/rm -f sudpschem.la
	cp $(SRCDIR)/sudpschem.la .

#############################
# datapath layout

sudp.mcp: sudpschem.la sudp.dprscr $(COMPASS_FILES)
	/sbin/rm -f sudp.pcl
	csh sudp.dprscr | tee sudp.dprlog

#############################
# compass files

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