Design Vision
Design Vision
Design Vision
授課教師:洪進華老師
[email protected]
實習助教:陳龍風
[email protected]
1
What is synthesis
assign out=a*b;
timing info
2
Synopsys Design Flow
Specification
Compile Design
Analysis
Verilog Netlist 3
執行步驟
一、進入工作站並鍵入環境設定檔
二、上傳所需資料
三、進入Synopsys (Design Vision)
四、讀取檔案(Compile語法)
五、設定Constrains
六、合成
七、存檔(.v & .sdf)
八、Gate Level Simulation
4
Invoke Design Vision
source synthesis.csh
mkdir xxxx
cd xxxx
複製 “.synopsys_dc.setup” 到你目前的目錄xxxx
5
Invoke Design Vision (.cont)
design_vision& (or dv & )
Command Mode 6
Read File 1
如果無法讀檔,或發生錯誤,請看P.8
讀檔成功可跳過P.8 7
Read File 2
Format一定要選 2
Auto,不然Work 3
library不能輸入
選擇之前建立的
Work library, 及
design
8
Four Different View - Hierarchy View
可選擇想合成的
module,若點選
Top module則是
全都合成。
9
Four Different View - Design View
不常用
10
Four Different View - Schematic View
2
11
Four Different View - Symbol View
2
12
Setting Design Environment
13
Setting Operating Condition
Worst Best
0.18可直接在Command
Mode輸入
14
Setting Input Drive Impedance
15
Setting Output Loading
Control single
16
Setting Wire Load Model
Attributes > Operating Environment > Wire Load
strict
relax
17
Setting Design Constraint
18
Specify Clock
19
Clock Skew
0.7
FF
clk
0.5 0.65
FF FF
20
Specify Latency
set_clock_latency 1 [get_clocks A ]
clk FF
clock source latency network latency
21
Specify Transition Time
0.2 ns
0.2 ns
22
Setting Input & Output Delay
0.381012 0.600213
0.133056 0.209607
23
Setting Input & Output Delay (cont.)
2.54066 1.94154
0.887273 0.678041
24
Setting Area Constraint
設為“0”
Tool會自動合
出最小的面積
25
Save Constraints & Attributes
26
Assign Problem
27
Change Naming Rule
在top_setup.dc中加入以下描述
define_name_rules name_rule -allowed "a-z A-Z 0-9 _" -max_length 255 -type cell
define_name_rules name_rule -allowed "a-z A-Z 0-9 _[]" -max_length 255 -type net
define_name_rules name_rule -map {{"\*cell\*" "cell"}}
define_name_rules name_rule -case_insensitive
28
Execute Script File
29
Check Design
30
Method 1: dont_touch
1. Select the multiple design instances block
2. Compile the block(否則做完don’t_touch會不能compile)
3. Attributes > Optimization Directives > Design
4. Compile the whole design
切換到Design view,
並選擇multiple
design instance
不建議使用
31
Method 1: dont_touch (.cont)
不建議使用
32
Method 2: ungroup
1. Select the multiple design instances block
2. Attributes > Optimization Directives > Design
3. Compile the whole design
不建議使用
33
Method 3: Uniquify
選擇TOP
module
建議使用
34
Method 3: Uniquify (.cont)
Remaping
記得在top_setup.dc中加入uniquify
35
Compile design
Optimizes and maps the design
切換到top module
Design > Compile Design
36
Timing Result
Violated
OK
37
Save Results
write_sdc xxxx.sdc
For Automation Place and Route.
38
Gate Level Simulation
39