Makefile
2.5 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
79
80
81
82
83
84
85
# 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