cs.ss
1.2 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
module = cs
/* set up a new search path */
search_path = search_path + "../src" + "../../inc" + \
"../../../lib/verilog/user" + "../../syn"
/* read the verilog sources and netlists*/
read -f verilog ../src/cs.v
read -f edif csclk.edf
read -f edif csgclk.edf
set_dont_touch csgclk
set_dont_touch csclk
current_design = cs
/* compile restrictions
set_dont_touch { ne35hd130d/nt01d* }
set_dont_use { ne35hd130d/mbnfnq ne35hd130d/mbnfnr }
set_dont_use { ne35hd130d/jk* } */
/* setup operating conditions */
set_operating_conditions NOM
set_wire_load 256000 -mode top
link
check_design > cs.lint
/* timing/area constraints */
clk_period = 16.0
create_clock clk -period clk_period -waveform {0 8.0}
create_clock gclk -period clk_period -waveform {0 8.0}
set_input_delay 3.0 -clock gclk all_inputs()
set_output_delay clk_period - 2.0 all_outputs()
set_load 0.5 all_outputs()
set_driving_cell -cell dfntnb -pin q all_inputs()
set_driving_cell -none {clk gclk}
set_dont_touch_network {clk gclk}
set_drive 0 {clk gclk}
set_arrival 0 {clk gclk}
set_max_fanout 0.02 {reset_l}
/* standard reports & netlist */
include "cs_false_path.tmg"
include "cs.tmg"
include "report.dc"
write -f edif -o cs.edf -hier cs
quit