bl.ss
2.16 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
86
87
88
89
90
91
92
/* Echo start time */
sh "date"
module = bl
search_path = search_path + "../src" + "../../inc" + \
"../../../lib/verilog/user" + "../../syn"
/* read the verilog sources */
read -f verilog ../src/bl_add.v
read -f verilog ../src/bl_cvg2.v
read -f verilog ../src/bl_cvg3.v
read -f verilog ../src/bl_dec.v
read -f verilog ../src/bl_deltaz.v
read -f verilog ../src/bl_deltaz_quant.v
read -f verilog ../src/bl_deltaz_add15.v
read -f verilog ../src/bl_div.v
read -f verilog ../src/bl_enc.v
read -f verilog ../src/bl_exp.v
read -f verilog ../src/bl_lerp.v
read -f verilog ../src/bl_lerp_add10.v
read -f verilog ../src/bl_lerp_and.v
read -f verilog ../src/bl_lerp_fa5.v
read -f verilog ../src/bl_lerp_fa6.v
read -f verilog ../src/bl_lerp_fa7.v
read -f verilog ../src/bl_lerp_fa8.v
read -f verilog ../src/bl_lerp_fa9.v
read -f verilog ../src/bl_lerp_faso.v
read -f verilog ../src/bl_lerp_ha1.v
read -f verilog ../src/bl_lerp_ha3.v
read -f verilog ../src/bl_lerp_haso.v
read -f verilog ../src/bl_log.v
read -f verilog ../src/bl_mux8.v
read -f verilog ../src/bl_muxa.v
read -f verilog ../src/bl_muxb.v
read -f verilog ../src/bl_mxpm.v
read -f verilog ../src/bl_norm.v
read -f verilog ../src/bl_nrma.v
read -f verilog ../src/bl_nrmb.v
read -f verilog ../src/bl_zcomp_gt.v
read -f verilog ../src/bl_zcomp.v
read -f verilog ../src/bl_max.v
read -f verilog ../src/bl.v
current_design = bl
link
check_design > bl.lint
sub_modules = {bl_mux8, bl_mxpm, bl_muxa, bl_muxb, \
bl_nrma, bl_nrmb, bl_norm, bl_deltaz, \
bl_enc, bl_dec, bl_log, bl_exp, \
bl_lerp, bl_add, bl_div, bl_max, \
bl_cvg2, bl_cvg3, bl_zcomp}
foreach(module, sub_modules){
set_dont_touch module true
}
/* compile restrictions */
set_dont_touch { ne35hd130d/nt01d* }
set_dont_use { ne35hd130d/mbnfnr }
/* area constraints */
max_area 11000
/* clock and I/O timing, drive & load */
include "bl.tmg"
/* max transition design rule */
set_max_transition 1.1 current_design
current_design = bl
compile -map_effort high -ungroup_all
/* standard reports & netlist */
module = bl
include "bl.tmg"
include "report.dc"
write -f edif -o bl.edf -hier bl
/* Echo end time */
sh "date"
quit