Makefile 2.5 KB
# Makefile for Compass standard cell blocks - BL (Blend Unit)
#
# Created by Matthew Rohm    6/3/94
# Modified by Phil Gossett   8/28/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.                     #
#####################################################

BL_LERP = "bl_lerp.v \
	bl_lerp_and.v \
	bl_lerp_fa5.v bl_lerp_fa6.v bl_lerp_fa7.v \
	bl_lerp_fa8.v bl_lerp_fa9.v \
	bl_lerp_ha1.v bl_lerp_ha3.v bl_lerp_faso.v bl_lerp_haso.v \
	bl_lerp_add10.v"

BL_DIV = "bl_div.v"

BL_CVG2 = "bl_cvg2.v"

BL_CVG3 = "bl_cvg3.v"

BL_DELTAZ_ADD15 = "bl_deltaz_add15.v"

BL =	"bl.v \
	bl_mux8.v bl_mxpm.v bl_muxa.v bl_muxb.v \
	bl_nrma.v bl_nrmb.v bl_norm.v bl_deltaz.v \
	bl_deltaz_add15.v bl_deltaz_quant.v \
	bl_enc.v bl_dec.v bl_log.v bl_exp.v \
	bl_max.v bl_zcomp.v bl_zcomp_gt.v \
	bl_lerp.v \
	bl_lerp_and.v \
	bl_lerp_fa5.v bl_lerp_fa6.v bl_lerp_fa7.v \
	bl_lerp_fa8.v bl_lerp_fa9.v \
	bl_lerp_ha1.v bl_lerp_ha3.v bl_lerp_faso.v bl_lerp_haso.v \
	bl_lerp_add10.v \
	bl_add.v bl_div.v bl_cvg2.v bl_cvg3.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            #
################################################

bl_lerp.syn:
	make BLOCK="bl_lerp" VSRCS=$(BL_LERP) syn

bl_div.syn:
	make BLOCK="bl_div" VSRCS=$(BL_DIV) syn

bl_cvg2.syn:
	make BLOCK="bl_cvg2" VSRCS=$(BL_CVG2) syn

bl_cvg3.syn:
	make BLOCK="bl_cvg3" VSRCS=$(BL_CVG3) syn

bl_deltaz_add15.syn:
	make BLOCK="bl_deltaz_add15" VSRCS=$(BL_DELTAZ_ADD15) syn

bl.syn:
	make BLOCK="bl" VSRCS=$(BL) syn

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

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