Makefile 3.61 KB
# Makefile for Compass standard cell blocks - CC (Color Combine Unit)
#
# Created by Matthew Rohm    6/3/94
# Modified by Phil Gossett   9/16/94
#

#####################################################
#  Include the generic Makefile                     #
#  - you MUST include this file -                   #
#####################################################
include /ecad/reality/include/Makefile.incl

#####################################################
#  Verilog source definitions                       #
#                                                   #
#  - you MUST define all the verilog files          #
#    necessary to compile a particular module.      #
#    this provides dependency checking, you do not  #
#    need to define the macro libraries you use,    #
#    unless you want dependency checking on them.   #
#  - remember that "make" is sensitive about        #
#    spaces as opposed to tabs.                     #
#####################################################
CC_LERP_CSA_ADD12 = "cc_lerp_csa_add12.v"

CC_LERP_CSA =	"cc_lerp_csa.v \
	cc_lerp_csa_fa8.v cc_lerp_csa_fa9.v \
	cc_lerp_csa_fa10.v cc_lerp_csa_fa11.v cc_lerp_csa_fa14.v \
	cc_lerp_csa_ha1.v cc_lerp_csa_ha3.v cc_lerp_csa_ha5.v \
	cc_lerp_csa_faso.v cc_lerp_csa_add12.v"

CC_LERP_BOOTH =	"cc_lerp_booth.v \
	cc_lerp_booth0.v cc_lerp_booth7.v cc_lerp_booth8.v"

CC_LERP =	"cc_lerp.v \
	cc_lerp_booth.v \
	cc_lerp_booth0.v cc_lerp_booth7.v cc_lerp_booth8.v \
	cc_lerp_csa.v \
	cc_lerp_csa_fa8.v cc_lerp_csa_fa9.v \
	cc_lerp_csa_fa10.v cc_lerp_csa_fa11.v cc_lerp_csa_fa14.v \
	cc_lerp_csa_ha1.v cc_lerp_csa_ha3.v cc_lerp_csa_ha5.v \
	cc_lerp_csa_faso.v cc_lerp_csa_add12.v"

CC_ADD12 = "cc_add12.v"

CC_EDGE_CTRL = "cc_edge_ctrl.v"

CC_EDGE_ADD = "cc_edge_add.v"

CC_EDGE_BOOTH = "cc_edge_booth.v cc_edge_booth0.v cc_edge_booth2.v"

CC_EDGE_CSA = "cc_edge_csa.v"

CC_EDGE_DIV = "cc_edge_div.v"

CC =	"cc.v \
	cc_abs16n.v cc_add12.v cc_inc4.v \
	cc_key_clamp.v cc_key_gt.v cc_key_mux.v \
	cc_mxxr.v cc_mxxa.v cc_mxyr.v cc_mxya.v \
	cc_mxar.v cc_mxaa.v cc_mxcr.v cc_mxca.v \
	cc_lerp.v \
	cc_lerp_booth.v \
	cc_lerp_booth0.v cc_lerp_booth7.v cc_lerp_booth8.v \
	cc_lerp_csa.v \
	cc_lerp_csa_fa8.v cc_lerp_csa_fa9.v \
	cc_lerp_csa_fa10.v cc_lerp_csa_fa11.v cc_lerp_csa_fa14.v \
	cc_lerp_csa_ha1.v cc_lerp_csa_ha3.v cc_lerp_csa_ha5.v \
	cc_lerp_csa_faso.v cc_lerp_csa_add12.v \
	cc_edge_ctrl.v cc_edge_add.v \
	cc_edge_booth.v cc_edge_booth0.v cc_edge_booth2.v \
	cc_edge_csa.v cc_edge_div.v"

################################################
#  targets                                     #
#                                              #
#  - these are dummy targets that are useful   #
#    for re-calling make with the appropriate  #
#    variables and targets. don't expect to    #
#    find a file called "block".syn            #
################################################

cc_lerp_csa_add12.syn:
	make BLOCK="cc_lerp_csa_add12" VSRCS=$(CC_LERP_CSA_ADD12) syn

cc_lerp_csa.syn:
	make BLOCK="cc_lerp_csa" VSRCS=$(CC_LERP_CSA) syn

cc_lerp_booth.syn:
	make BLOCK="cc_lerp_booth" VSRCS=$(CC_LERP_BOOTH) syn

cc_lerp.syn:
	make BLOCK="cc_lerp" VSRCS=$(CC_LERP) syn

cc_add12.syn:
	make BLOCK="cc_add12" VSRCS=$(CC_ADD12) syn

cc_edge_ctrl.syn:
	make BLOCK="cc_edge_ctrl" VSRCS=$(CC_EDGE_CTRL) syn

cc_edge_add.syn:
	make BLOCK="cc_edge_add" VSRCS=$(CC_EDGE_ADD) syn

cc_edge_booth.syn:
	make BLOCK="cc_edge_booth" VSRCS=$(CC_EDGE_BOOTH) syn

cc_edge_csa.syn:
	make BLOCK="cc_edge_csa" VSRCS=$(CC_EDGE_CSA) syn

cc_edge_div.syn:
	make BLOCK="cc_edge_div" VSRCS=$(CC_EDGE_DIV) syn

cc.syn:
	make BLOCK="cc" VSRCS=$(CC) syn

cc.sch: cc.syn
	make BLOCK="cc" sch

cc.apr: cc.syn
	make BLOCK="cc" apr