Basic SYNOPSYS User Guide - PowerPoint PPT Presentation

1 / 72
About This Presentation
Title:

Basic SYNOPSYS User Guide

Description:

Title: Author: vlsi4 Last modified by: VLSIPC4 Created Date: 2/21/1998 7:47:36 AM Document presentation format: A4 (210x297 mm) – PowerPoint PPT presentation

Number of Views:36
Avg rating:3.0/5.0
Slides: 73
Provided by: vls52
Category:
Tags: synopsys | basic | guide | tools | user | vlsi

less

Transcript and Presenter's Notes

Title: Basic SYNOPSYS User Guide


1
Basic SYNOPSYS User Guide
? 1 ?
2
Outline
? Setup system environment ? Default Synthesis?
Setting Design SPEC. ? Setting Operating
Environment? Setting Design Constraint -
Combinational circuits -- Timing
constraints - Sequential Circuits --
Specify the clock -- Setting input
delay -- Setting output delay ?
Simulation of Synthesized Circuit
? 2 ?
3
Setup a New Synopsys User
  • Add the contents of /usr/synopsys/cicSynop/synopsy
    s.cshrc to your .cshrc
  • hsiehgt cat /usr/synopsys/cicSynop/synopsys.cs
    hrc gtgt .cshrc
  • hsiehgt source .cshrc
  • hsiehgt design_analyzer
  • Use online documentation
  • hsiehgt cd
  • hsiehgt cp /usr/synopsys/cicSynop/Iview .
  • hsiehgt iview

????????
?? Synopsys Design Analyzer
? 3 ?
4
.synopsys_dc.setup File
? ?.synopsys_dc.setup????? design compiler
????????? cell Library . ?
.synopsys_dc.setup ????????????. ??????? user
???????? . ? ? .synopsys_dc.setup ?????
Library ?????? search_path .
/vlsi-a/Librarys/LIB06_V2/Synopsys/usr/synopsys/li
braries/syn ???????????????? ,
???????VLSI-CAD ?????????? target_library
cb60hp231d.db link_library
cb60hp231d.db symbol_library
cb60hp231d.sdb verilogout_no_tri true

????????? cell library( verilog model) ??synopsys
??????????? .db file(binary file)
?? SYNOPSYS ??? verilog file ???? tri_state
???. (? CADENCE ??? verilog IN ???? tri_state ???)
? 4 ?
5
Hsieh gt design_analyzer
?? Synopsys Design Analyzer ????
? 5 ?
6
Default Synthesis
? Read File window ??????? verilog file , ???
OK? (????????? Verilog window , ????)
Read Formats button -- Synopsys formats DB
(binary) .db equation .eq state
table .st -- Verilog .v -- PLA(Berkeley
Espresso) .pla -- EDIF
? 6 ?
7
Default Synthesis (cont.)
?? ???? Verilog-XL? compile ???? verilog file ,
????? Verilog window ?
Verilog window
? 7 ?
8
Default Synthesis (cont.)
  • ???????
  • Syntax error
  • verilog ????
  • Unsupported statements
  • delay, initial, repeat, wait, fork,
    event, deassign, force, release
  • Unsupported definitions and declarations
  • primitive, time, event, trand, trior,
    tri0, trireg
  • Unsupported operators
  • and !
  • Division operator ( / )
  • Modulus operator ( )
  • Unsupported gate-level constructs
  • nmos, pmos, cmos, rnmos, rpmos, rcmos
  • pullup, pulldown
  • rtran, tranif0, tranif1, rtranif0, rtranif1

? 8 ?
9
Default Synthesis (cont.)
? Tools Design Optimization ?? Design
Optimization window ?
??? icon ?,Design Optimization ???????,???? icon
???????(?????????)
? 9 ?
10
Default Synthesis (cont.)
? ?????????????? ?,?? defaults ????? ?
??????? , ????????? . ?? , ?????????????.
?? SYNOPSYS ? mapping ?????? cells .
???????? icon ?? ?????
? 10 ?
11
Default Synthesis (cont.)
???
Hierarchical view bottom
???? icon ???? ? icon ?????
???( Hierarchical view )
? 11 ?
12
Default Synthesis (cont.)
?
????? icon?????????? Symbol view bottom ??????????
Symbol view bottom
????
Symbol view
? 12 ?
13
Default Synthesis (cont.)

?
????? icon?????????? Schematic view bottom
??????????
Schematic view bottom

Schematic view
? 13 ?
14
  • ??,Synopsys ?????? verilog code ???? (???),
    ??????? Synopsys ?????????? . Synopsys ??? input
    drive is infinite , output capacitance is zero ,
    ?????? Operating conditions, Timing, Area ???
    (??? .synopsys_dc_setup ??????)??????????? ,
    ??????????? Spec. ???????? Constraints , ?
    Synopsys ????????? Design ???? (Optimization) .

? 14 ?
15
Setting Design SPEC.
Operating Voltage ? Operating temperature
? Process variation ?
My Design
Input Constraints
Output Constraints
Input driving strength ? Input arrival time ?
Output capacitance load?
? 15 ?
16
Setting Operating Environment
?????????????????????????????,??????,?????????????
????????(???)
??????????????? Shift ??,????????????????????(?
???????)?
???? port ???
? 16 ?
17
Setting Operating Environment (cont.)
? Attributes Operating Environment
Drive Strength ????? Drive Strength ????(???)
?????? port ?,????? port name ?????????????????
Apply
? ???????????
? 17 ?
18
Setting Operating Environment (cont.)
??? Operating condition model. (delay model) ?
Cell Library ???????
Name Process Temp volt
Interconnection Model WCCOM 1.33
70.00 4.75
worst_case_tree BCCOM 0.92
0.00 5.25 best_case_tree NCCOM
1.00 25.00 5.00
balance_tree
? 18 ?
19
Setting Operating Environment (cont.)
??? ????????? ????????
? Cell Library ???????
?? 1000 gates ???
1000 gates ???
2000 gates ???
? 19 ?
20
Setting Operating Environment (cont.)
? Attributes Operating Environment
Load ????? loading ????(???)
????????? Apply
? ? output loading ??, Synopsys ??? cell
library????????? buffer ( cell library ?????? )
? 20 ?
21
Setting Design Constraint
  • Optimization constraints
  • Maximum delay , Minimum delay
  • For combinational circuits
  • Select the start and end points of the concerned
    paths
  • For sequential circuits
  • Specify the clock
  • Setting input delay
  • Setting output delay
  • Maximum area

? 21 ?
22
Combinational circuits
? 22 ?
23
Setting Constraints (cont.)
? Attributes Optimization Constraints
Design Constraints ?????? Design constraints
window
? Max Area ?? Area ?? (?? gates). ???? license
, ????? power ?? constraint .
? ?????, default ?????
? 23 ?
24
Combinational circuits
??????????, ? Analysis Highlight
Critical Path , Synopsys ????? Critical Path ??
(??)
? 24 ?
25
Combinational circuits (cont.)
?? Analysis Report ??? Report ?? (??),
????????? Apply
??? port name
??? Critical path output port (??? port ????,???)
? 25 ?
26
Combinational circuits (cont.)
Point timing
- Number of cells - Combinational area - Total
area
Operating environment
? 26 ?
27
Combinational circuits (cont.)
?? constraints ?, ????????? port, ???????? ports
? 27 ?
28
Combinational circuits (cont.)
? Attributes Optimization Constraints
Timing Constraints ?????? timing constraints
window
Input port name Output port name
? Maximum Delay ???? Input port ? Output port ?
timing constraints
? ????? input ? output ??
? 28 ?
29
Combinational circuits (cont.)
?????
?????
? 29 ?
30
Combinational circuits (cont.)
Timing ?? Spec. ?? Synopsys ????? user. Synopsys
???????????.
????? Spec. ????????????? codeing style .
? 30 ?
31
Combinational circuits (cont.)
output loading ??? 5 pF?, ???????
? cell library ??????
? 31 ?
32
Combinational circuits (cont.)
?????
Output ??? buffer
?????
? 32 ?
33
Sequential Circuits
? 33 ?
34
Specify Clock
? Period ??????(?? ns)
??????? port
Dont Touch Network Do not re-buffer the

clock network Fix hold Fix
your hold time requirement in compile,
create hold constraint for the clock
? 34 ?
35
Specify Clock (cont.)
? Period ???????? Apply , (?? ns)???? clock
period
? 35 ?
36
Specify Clock (cont.)
???? duty cycle , ??? clock edge (?????? , Edge
??????????
??? Edge ?????????? enter ????? duty cycle , ???
Apply ??
? ???????? edge ????????????? duty cycle , ???
Apply ??
? 36 ?
37
Specify Clock (cont.)
?? Propagated bottom ??? skew time (ns) ?? Apply
?? Skew bottom???? clock skew window
? 37 ?
38
MAX. Delay MIN. DELAY
Input Block
Output Block
My Design
a
e
b
c
d
CLK
t b
????????????,???????????,?? My design?????????????
??,?????, a ???? input delay time???? input block
??????? data ready time,b ????Data ? My design ??
delay time tb ?? Data ? setup time tsu?
e_min
a_min
t su
e_max
a_max
data
data
CLK
a Input Delay
e output Delay
? 38 ?
39
Setting Input Delay
?????? Attributes Operating Environment
Input Delay ???????????(???)
??????? (??ns) ??Apply
??????? rise,fall delay ,??? icon ???( ???????)
? 39 ?
40
Setting Output Delay
?????? Attributes Operating Environment
Output Delay ???????????(???)
??????? (??ns) ??Apply
? 40 ?
41
Setting Constraints -- sequential circuit
?? constraints ?, ????????? port, ???????? ports
? 41 ?
42
Setting Constraints (cont.) -- sequential circuit
? Attributes Optimization Constraints
Timing Constraints ?????? timing constraints
window
Input port name Output port name
? Maximum Delay ???? Input port ? Output port ?
timing constraints ? ????? input ? output ??
? 42 ?
43
Setting Constraints (cont.) -- sequential circuit
? ????? Synopsys ? combinational circuit ?
sequential circuit ?? Critical Path????? .
????????????? Critical Path.
??????????, ? Analysis Highlight
Critical Path , Synopsys ????? Critical Path ??
(??)
? 43 ?
44
Setting Constraints (cont.) -- sequential circuit
Output name
?????? gate output point (??????), ? Analysis
Show Timing??????? timing . ?? Report ??.
? 44 ?
45
Setting Constraints (cont.) -- sequential circuit
????(????? gate) ? Analysis Highlight
Max Path Max Path ??????? timing path .(??????)
? 45 ?
46
Setting Constraints (cont.) -- sequential circuit
Max. delay time
? 46 ?
47
Setting Constraints (cont.) -- sequential circuit
?????? input port ? gate output point (?????).
????????.
input port name
gate output point name
??????? (??ns) ??Apply
? 47 ?
48
Setting Constraints (cont.) -- sequential circuit
???????? input port ????????? gate ?output
point(??)
? 48 ?
49
Setting Constraints (cont.) -- sequential circuit
?????
?????
? 49 ?
50
Setting Constraints (cont.) -- sequential circuit
Max. delay time
Max. delay time
? 50 ?
51
Setting Constraints (cont.) -- sequential circuit
? ?? latch or flip flop ???? constraints ?
delay time ?? spec.
????, ?? delay time ?? spec.????????.??? 5254
?????.
? 51 ?
52
Setting Constraints (cont.) -- sequential circuit
? ???????????
? 52 ?
53
Setting Constraints (cont.) -- sequential circuit
????????? ,??? icon . ???? from point
? 53 ?
54
Setting Constraints (cont.) -- sequential circuit
??????output point
??????? (??ns) ??Apply
? 54 ?
55
Setting Constraints (cont.) -- sequential circuit
?????
?????
? 55 ?
56
Setting Constraints (cont.) -- sequential circuit
??? Delay time
??? Delay time
????? gate
?? timing SPEC.
?? 43 44 ??????? Max. Path
? 56 ?
57
  • Differences of coding
  • structure
  • key word --- //synopsys

??????? SYNOPSYS on line document --- HDL
Compiler for Verilog Reference
? 57 ?
58
Structure
Coding ?????????????, synopsys ??? user??? Coding
??????, ????????. ???????? HDL Compiler for
Verilog Reference --- Chapter 8 (SYNOPSYS on line
document).???????.
module coding_1(a, b, c, d, out) input 30 a,
b, c, d reg 30 outtmp output 30
out always _at_(a or b or c or d) begin outtmp a
b c d end assign out outtmp endmodule
module coding_2(a, b, c, d, out) input 30 a,
b, c, d reg 30 outtmp output 30
out always _at_(a or b or c or d) begin outtmp
((a b) (c d)) end assign out
outtmp endmodule
difference
? 58 ?
59
Coding_1 out a b c d
Coding_2 out ((a b ) (c d))
? 59 ?
60
Coding_1
Coding_2
? 60 ?
61
key word --- //synopsys
module SP1 ( reset,SP2IB1,IB12SP,SPen,
SP2IB1en ) input SPen, SP2IB1en
,reset input 20 IB12SP output 20
SP2IB1 reg 20 sp always _at_(SPen or IB12SP
or reset) begin if (reset) sp 07
else if (SPen) sp IB12SP end assign
SP2IB1 (SP2IB1en ? sp 'bz) endmodule
module SP2 ( reset,SP2IB1,IB12SP,SPen,
SP2IB1en ) input SPen, SP2IB1en
,reset input 20 IB12SP output 20
SP2IB1 reg 20 sp //synopsys async_set_reset
"reset" always _at_(SPen or IB12SP or reset) begin
if (reset) sp 07 else if (SPen)
sp IB12SP end assign SP2IB1 (SP2IB1en ?
sp 'bz) endmodule
Coding_1
Coding_2
? 61 ?
62
? ???? //synopsys async_set_reset ?,
SYNOPSYS?????? set or reset ? latch. ??
SYNOPSYS ?? reset ? enable signal ? gated control
?? latch ? enable input, ????????????????.
Coding_1
Coding_2
? 62 ?
63
key word --- //synopsys
module CIN1(C2CIN ,IB172CIN ,CINout ,CINsel
,CINen ,CINclr) input C2CIN, IB172CIN, CINen,
CINclr input 10 CINsel output CINout reg
muxans,cin always _at_(CINsel or C2CIN or
IB172CIN) begin case(CINsel) //synopsys
full_case parallel_case 2'b00 muxans
C2CIN 2'b01 muxans C2CIN 2'b11 muxans
IB172CIN //default muxans
1'bx endcase end //synopsys
async_set_reset "CINclr" always _at_(muxans or
CINen or CINclr) begin if (CINclr) cin
0 else if (CINen) cin muxans
end assign CINout cin endmodule
module CIN2(C2CIN ,IB172CIN ,CINout ,CINsel
,CINen ,CINclr) input C2CIN, IB172CIN, CINen,
CINclr input 10 CINsel output CINout reg
muxans,cin always _at_(CINsel or C2CIN or
IB172CIN) begin case(CINsel) 2'b00
muxans C2CIN 2'b01 muxans C2CIN 2'b11
muxans IB172CIN
//default muxans 1'bx
endcase end //synopsys async_set_reset "CINclr"
always _at_(muxans or CINen or CINclr) begin
if (CINclr) cin 0 else if (CINen)
cin muxans end assign CINout
cin endmodule
??? full_case ???, ?? case ??.
Coding_1
Coding_2
? 63 ?
64
Coding_1
Coding_2
? 64 ?
65
Additional Setting
??????? SYNOPSYS on line document --- Design
Compiler Family Reference Manual
? 65 ?
66
Check Design
???? Report
???????
???? errors ? warnings ???????, ??????????
?? Check Design ????????? .
? 66 ?
67
Command Window
command window ??? user ???????????????
success
fail
?????
? 67 ?
68
?????
????
????
? Variables window ??? user ??????.
?????verilogout_no_tri ???? false ??? true (????
.synopsys_dc_setup ??)
? 68 ?
69
Simulate the Synthesized Circuit
???????
(1) Save the synthesized circuit as verilog
format ( .v)
? 69 ?
70
Simulate the Synthesized Circuit(cont.)
(2) Simulation ??? Verilog XL command line
simulation method ex) ?????? pattern ? test.v
hsiehgt verilog incr.v test.v -f
/simopt.f ?? , incr.v ????
Synopsys ??? verilog file
simopt.f ??? library ????? (User ??
, ???) ??? Verilog In Verilog
In?? Cadence ??? , ? netlist ?? schematic ???
. ?? Verilog In ??? netlist , ???? Synopsys ?
??? verilog file ?????? behavior level ??? ,
??? ???? Verilog In ??? schematic ???? ??? ,
??? ????????,??? Synopsys ??? verilog file ,
??? ??? Verilog In???? ????? ?
.synopsys_dc.setup ???,?? verilogout_no_tri
false ????verilogout_no_tritrue ?????

? 70 ?
71
Variables of Verilog and Simopt.f file
Variables of Verilog -s
interactive mode -f lt filename gt read
host command arguments from file venv
invoke the verilog control window and
LSE -h help
simopt.f ?????? ism -v
/vlsi-a/Librarys/LIB06_V2/Verilog/cb60hp231d.ismvm
d -v /vlsi-a/Librarys/LIB06_V2/Verilog/cb60hd23
1d.ismvmd -v /vlsi-a/Librarys/LIB06_V2/Verilog/
cb60io420d.ismvmd -v /vlsia/Librarys/LIB06_V2/V
erilog/cb60hp231d/cells/support/udps.vmd -v
/vlsi-a/Librarys/LIB06_V2/Verilog/cb60hd231d/cells
/support/udps.vmd
nonlinear model
linear model
? 71 ?
72
  • Reference
  • SYNOPSYS on line document
  • --- Design Compiler Family Reference Manual
  • --- HDL Compiler for Verilog Reference
  • CIC ????
  • --- Login Synthesis Training Manual

? 72 ?
Write a Comment
User Comments (0)
About PowerShow.com