Download as pdf or txt
Download as pdf or txt
You are on page 1of 182

Laker UDD Training

Date:
Date: May
May 20,
20, 2005
2005
UDD Editor Agenda

‹ Overview
‹ UDD Editor Introduction
‹ Shape Creation Tips
‹ Case Study
Confidential

2 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Overview - UDD

‹ UDD = User Define Device


‹ It’s an edge based parameterized device model
‹ It’s designed under GUI platform
‹ Provide built-in Over-constraint check and error report
scheme
Confidential

‹ Support hierarchical design architecture


‹ TCL based variable syntax

Edge based

3 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD Editor Introduction

‹ UDD Editor Architectture


‹ Overview
‹ Operation Flow
‹ Constraint Evaluation
Confidential

‹ Edge-Based Constraint
‹ Rule Finder
‹ Rule Checker
‹ Preview
‹ Shape Creation Tips
‹ TCL Programming tips

4 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD Editor Architecture

Tcl Programming Interface


Confidential

UDD Editor Rule Checker

Polygon Layout Editor

LAKER 3.0 database

5 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Overview

‹ UDD Editor Tool


bar

Layout window
Procedure list window
Confidential

Procedure content
Preview window
window

6 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Operation Flow

Create Shapes Import Layout

Constrain Shapes
Confidential

Over constrain error

Debug and Modify Constraints


Rule Checker

Pass

Preview & Test

Done
7 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
UDD Editor Introduction

‹ UDD Editor Architecture


‹ Overview
‹ Operation Flow
‹ Constraint Evaluation
Confidential

‹ Edge-Based Constraint
‹ Rule Finder
‹ Rule Checker
‹ Preview
‹ Shape Creation Tips
‹ TCL Programming tips

8 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Valid Objects

‹ Valid Objects
¾ Manhattan Shapes
• Rectangle
• Polygon
¾ Instances
Confidential

• Instance, Instance array


• P-Device ( Parameterized Device)
• UDD
¾ Label
• Text

9 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Edge -Based Constraint
Edge-Based

‹ All constraints are applied on edges of instance


or of shapes
Confidential

10 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Evaluation Model

• Distance Relationship
Modification
• Stretch
If the distance rule applies inside shapes

• Move
Confidential

If the distance rule applies outside shapes

Activate shapes by constraint


All shapes right to the distance rule are reevaluated from left to
right
All shapes above the distance rule are reevaluated from bottom
Move
to top
Move
Distance Move

Move
Stretch (Rule Inside)

11 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
TCL Based syntax

‹ Support TCL syntax for variables and Math


exprssion
¾ The value of a variable is obtained with the dollar-sign
syntax.
¾ The “Name” in a procedure constraint can be a variable and
Confidential

be used in math expressions by other variables.


¾ There is no sequence issue for the variable declaration

12 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
TCL Built -in Math Functions
Built-in

acos(x) Arccosine of x pow(x,y) x to the y power, xy


asin(x) Arcsine of x abs(x) Absolute value of x
atan(x) Arctangent of x sqrt(x) square root of x
cos(x) Cosine of x floor(x) Greatest integral value
sin(x) Sine of x less than or equal to x
Confidential

tan(x) Tangent of x fmod(x) floating point


remainder of x
log(x) Natural log of x
ceil(x) Least integral value
exp(x) Exponential, ex
greater than or equal to x
int(x) Truncate x to an integer
rand() return a random floating
round(x) Round x to an integer point between 0.0 and 1
hypot(x,y) x2 + y2

13 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD Editor Introduction

‹ Overview
‹ Operation Flow
‹ Constraint Evaluation
‹ Edge-Based Constraint
Confidential

‹ Rule Finder
‹ Rule Checker
‹ Preview
‹ Shape Creation Tips
‹ TCL Programming tips

14 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Edge -Based Constraint
Edge-Based

‹ Design Constraints tool bar


Distance Align
Attribut
Parameter e Copy
Confidential

Procedure Fill
script
Boolean

Preview
Operation
script Rule Finder
Report Rule Check
Distance
Return Value Cut Corner

Remove

15 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Constraint Evaluation Sequence

Laker will follow the sequence below to realize the UDD design

1. Procedure Script
2. Distance/Align/Attribute (Geometry Related)
1. Iterate to evaluate all shapes until the shapes can meet the
Confidential

geometry related constraints


3. Copy
4. Fill
5. Boolean
6. CutCorner
7. Remove
8. Reported Distance/Return Value
9. Operation Script

16 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Define a Constraint Procedure

‹ Click button to add new constraint procedure


¾ 1.Click desired button
¾ 2.Specify a desired unique name
¾ 3.Click OK button
1
Confidential

17 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Define a Constraint Procedure

‹ Show content of constraint procedure


¾ Click on procedure name
¾ The contents will be listed as below
Confidential

18 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Define a Constraint Procedure

‹ Manipulation
¾ Click right on Procedure Name and choose the action
• Rename
• Delete
Confidential

19 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Parameter Constraint

‹ Button
‹ Purpose
¾ Define the global variable
Confidential

‹ Operation steps
¾ Click Add button to append a new blank line
¾ Click to choose parameter type
¾ Click and enter the parameter name and value
¾ Click on Avail field to toggle the parameter on/off
¾ Click Delete button to remove the highlighted parameter
¾ Click Expr button to specify a complete expression in TCL format
¾ Click Apply button to commit the change

20 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Parameter Constraint

‹ Example
L1 L2
Confidential

>Without Parameter,set L1&L2 L1 1


L2 1

(Global Variable)
>With Parameter,set L L1 $L
L2 $L L 1

21 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Parameter Constraint

‹ Parameter Types
¾ string – an string or an equation
¾ Int – Integer
¾ float – floating point number
¾ Boolean – TURE/FALSE
Confidential

¾ layer – Layer in table


¾ pathStyle – Truncate…
¾ Rotate – R0/ R180/ MXR0 …..
¾ Justify – CenterCenter /LowerLeft ….

‹ Limitation
¾ The parameter with expression value must be defined as type:
string and the Avail flag can not be on

22 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Expression Editor

‹ Purpose
¾ Help user easily write the expression with predefine
parameters, expression, operators or functions
Confidential

Support TCL-based expression


format

23 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Expression Editor

‹ Function description
¾ Restore the default value
• Click Reset button
¾ Clean the content
• Double click on expression field to select all
Confidential

• Press Backspace key to remove all data


¾ Add a variable
• Click desired variable under Variable list
• Click +Var button to append
¾ Add a operator or a function
• Click desired operator or function to append
¾ Add an expression
• Enter the expression in Token field
• Click +Expr button to append

24 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Distance Constraint

‹ Button
‹ Purpose
¾ Apply distance rule between two edges
¾ Limitation
• It only applies on Manhattan shapes
Confidential

‹ Operation steps
¾ Click Distance button
¾ Specify a unique name
¾ Click OK button to add a Distance procedure
¾ Click Add button to append a blank line
• Click-left on desired two edges in the same direction
• Enter the desired constraint name and press Enter
¾ Click Apply button to commit the change

25 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Distance Constraint

‹ Action
¾ Define distance rule
• Click Add button to add a blank line
• Click on the first edge ( 1 )
• Click on the second edge ( 2 )
Confidential

• Enter the distance rule parameter name in the blank field ( 3 )


• Press Enter to finish ( 4 )

0 1 2 3

4 5

26 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Distance Constraint --change
change selected edge

‹ Operation steps
¾ Click the option: Modify Selected Edges
¾ Ctrl+click to deselect the edge.
¾ Shift+click to add new edge.
¾ Click Apply button to commit the change
Confidential

Deselect edge Select edge Apply

27 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Distance Constraint - Example

28 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Example - Traverse Method
4.Reset Traverse Area
1.Master
from modifiable shapes

Dist. Sub Move


Dist. Sub Move
Move
Move
Ref.
Move Ref.
Move
Stretch (Cover Distance)
Stretch (Cover Distance)
Confidential

2.Search area, from left to right 5.Get sub modifiable shapes,


go step 4 if select set changed
Dist. Sub Move
Move Dist. Sub Move
Ref. Move
Move
Ref.
Stretch (Cover Distance) Move
Stretch (Cover Distance)
3.Get modifiable shapes

Dist. Sub Move Dist. Move


Move Move
Ref. Ref.
Move Move
Stretch (Cover Distance) Stretch (Cover Distance)

29 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Example - Traverse Method

<1> Distance W=1 W=1


Confidential

<2> Distance W=3 W=3


Mov
Mov e
e
Mov
e

30 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint

‹ Button
‹ Purpose
¾ Align the selected edges to the reference edge
‹ Operation steps
Confidential

¾ Click Align button


¾ Specify a unique name
¾ Click OK button to add a Align procedure
¾ Specify align objects
• Click to specify the active edge
• Shift+click to increase the active edge
• Ctrl+click to deselect the active edge
• Click to specify the reference edge
¾ Click Apply button to commit the change

31 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint

‹ Operation steps
¾ Select Mode: Group or Seperate Active Reference
¾ Select Direction: Horizontal or Vertical
¾ Click Add button to append a blank line
• Click on desired edge as active edge
Confidential

• Click on desired destination edge as reference edge


¾ Click on Name field and specify the name for this align
constraint
¾ Click on Space field and enter the space value of two edges
¾ Press Enter to finish adding align constraint
• The value is evaluated and reported in Estimate field for
reference

32 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint - Example

‹ Align with space rule


Active Reference

Space
Confidential

Seprate

Group Space

33 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint - Example

<1>Align W=1 W=1


Confidential

No Move
No Move
<2>Align W=3
Reference

W=3 No Move
Active

34 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint – Change reference edge

‹ Operation steps
¾ Click the checkbox : Modify Selected Edges
Confidential

¾ Left+Click on new edge to set as new reference edge


¾ Click Apply button to commit the change

Modify selected edge Click new edge Click Apply

35 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint – Modify active edge

‹ Operation steps
¾ Click the option: Modify Selected Edges
Confidential

¾ Shift+click to add new edge as active edges


¾ Ctrl+click to deselect the edge from active edges
¾ Click Apply button to commit the change
Modify selected edge Shift+click new edge Ctrl+click delete edge Click Apply

36 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint – Align to Center
‹ Purpose
¾ Easy to align shape edge/instance to center of edge of
shape/instance
‹ Operation steps
¾ Click on desired edge of shape or center point of instance
Confidential

edge as active edge


¾ Move mouse cursor to the center of the reference
edge/instance
¾ Click center point of edge/instance to set as reference
point
¾ Click Apply button to commit the assignment

37 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint – Hierarchical Align

‹ Purpose
¾ Easy way to align active edge of shapes to the reference
edge with one hierarchy deeper in UDD
‹ Operation steps
¾ Click on desired edge of shape as active edge
Confidential

¾ Click on edge of UDD as reference edge


• Limitation: The shapes generated by Boolean, Copy, CutCorner,
Fill, Operation Script and Attribute constraints cannot be
specified as reference edge
¾ Click Apply button to commit the assignment

38 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Align Constraint ––Example
Example

‹ Hierarchical Align
Confidential

39 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint

‹ Button
‹ Purpose
¾ Propagate parameter value to UDD
¾ Define shapes property
Confidential

‹ Operation steps
¾ Click Attribute button
¾ Select desired object (shape/instance)
¾ Click on Input Parameter field of attribute name
¾ Modify the value of attribute
• Can be an expression or parameter name
¾ Click Apply button to commit the change

40 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint

‹ Attribute list
¾ For shape object
• Object Type (None, Stretchable, Solid, Isolable)
• Layer
Confidential

¾ For Label
• Object type (Solid only)
• String
• Layer
• Height
• Justification
• Mirror/Roration

41 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint – object type

‹ Object type
¾ Stretchable (Default)
• The edges of the shape is stretchable
¾ Solid
• The shape is fixed even though there are some align or
Confidential

distance constraints applied on the edges of the shape with


Solid type
• Instance, P-Device and UDD are belong to Solid type object
¾ Isolable
• The constraints left to the shape with Isolable type are
skipped

42 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint - Example

Distance constraint a=3


Confidential

a
Distance constraint
a=16

43 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint

‹ Attribute list
¾ For instance object
• Object Type (Solid)
• Library Name
• Cell Name
Confidential

• Columns
• Rows
• X Pitch
• Y Pitch

44 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint
‹ Attribute list
¾ For UDD/P-Device
• Object Type (Solid only)
• Columns (integer)
• Rows (integer)
• X Pitch
Confidential

• Y Pitch
• Device related parameter listsCoLayer,Cow is the parameters of UDD “co_cell”

Propagate parameter
values to UDD

45 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint

‹ Modify attribute value


¾ Click on Input Parameter field of desired attribute
• Choose desired parameter from
parameter list
or
Confidential

• Directly input the string

or
• Click Expr button and write complex expression

46 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint - Step Setting
<1> For a CO_cell attribute with :
” Columns=3” ,” X Pitchby =$Cow*2 ”
Confidential

Without step Setting

47 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint - Step Setting
<2> Set the step=1

With step Setting

1 2 3
Confidential

Cow = $Cow + Input * 0 = 1 + 1 * 0 = 1


= $Cow + input * 1 = 1 + 1 * 1 = 2
= $Cow + input * 2 = 1 + 1 * 2 = 3

Note : The Row should be set to “1”

48 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Attribute Constraint - Step Setting

49 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint - Step Setting

‹ Purpose
¾ Assign incremental value to parameter for UDD
¾ Realize hierachical UDD with Do-Loop

Operation steps
Confidential

‹
¾ Click Attribute button
¾ Select desired object (shape/instance)
¾ Click on Step Setting table
¾ Click on Input Parameter field
¾ Assign the step value of parameter
¾ Click Apply button to commit the change
Note: Only one of the parameters can be assigned the step value

50 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Attribute Constraint - Step Setting

¾ Click on Content table


¾ Assign proper value to Columns, Rows, X Pitch, Y Pitch
• Either Columns or Rows must be 1
¾ Click Apply button to commit the modification
Confidential

Create $N UDD cells with giving R the following value.


1: $R/2.0–($W+$S)/4.0–($W+$S)*0
2: $R/2.0–($W+$S)/4.0–($W+$S)*1
3: $R/2.0–($W+$S)/4.0–($W+$S)*2
…..

.
$N: $R/2.0–($W+$S)/4.0–($W+$S)*($N-1

51 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Copy Constraint

‹ Button
‹ Purpose
¾ Duplicate selected objects with Rows/Columns and X/Y Pitch
‹ Procedure
¾ Click Copy button
Confidential

¾ Specify an unique name


¾ Click OK button to add a Copy procedure
¾ Check the option: Modify Select Set
¾ Click on desired object
• Shift+click to add extra object
¾ Click Apply button to commit the selected objects
¾ Enter the values of Rows, Columns, X Pitch and Y Pitch
¾ Click Apply button to commit the assignment
¾ If you need to remove the original objects, check on the checkbox
of “Remove original objects”

52 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Copy Constraint – Example

Note: For shapes, the result of Copy constraint is not an array


53 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Copy Constraint – Example
Remove the original objects
Confidential

Don’t remove the original objects


move

If the option is not on, the original objects will overlap with the
result objects.
54 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint

‹ Button
‹ Purpose
¾ Fill the specific region with array
structure according to
• X Pitch, Y Pitch, left/right/top/bottom
Confidential

enclosure
‹ Operation steps
¾ Click Fill button
¾ Specify an unique name
¾ Click OK button to add a Fill procedure
¾ Choose object for fill-in
• Instance
• Selected P-Device or UDD

55 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint

‹ Fill scheme
¾ Find out the valid fill region by following the constraints of
Top/Bottom/Left/Right Enclosure.
¾ Fill the bounding box of the shapes with selected object by
honoring the justification constraint.
Confidential

¾ Remove the objects which are outside the valid region.


¾ Form the objects to arrays to reduce the data base size.
Top enclosure

Left enclosure

Right enclosure
Bottom enclosure

56 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Fill instance

‹ Operation steps
¾ Disable the option: Use Existing Setting
¾ Click the radiobutton: By Lib/Cell in Fill Instance frame
¾ Click Browse button to find the cell for filling
Confidential

57 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Fill instance

‹ Operation steps
¾ Check the option: Change Selection and Fill Region
¾ Select shapes which you want to fill the instance into
¾ Select the Fill Type as Contact or Guard Ring
¾ Enter the setting for Row/Column/X Pitch/Y Pitch,
Confidential

Left/Right/Top/Bottom Enclosure, Rotate, Justify, and


Magnification
¾ Click Apply button to complete the setting

58 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Fill Selected Object

‹ The selected object can be shape,UDD, instance


or P-device.
‹ Operation steps
¾ Disable the option: Use Existing Setting
¾ Click the radiobutton: By Selected Object
Confidential

• The parameters of selected UDD/P-Device can be assigned in


Attribute constraint
¾ Check the option: Change Selection
¾ Check the radiobutton: Fill Region
¾ Select shapes
¾ Click Apply button to mark the shapes as Fill Region
¾ Check the radiobutton: Fill Object
¾ Select shape, UDD, instance or P-Device
¾ Click Apply button to mark the instance as Fill Object

59 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Fill UDD/P -Device (cont)
UDD/P-Device
¾ Select the Fill Type as Contact or Guard Ring
• Check the option: Distributed if the Row/Column values are
specified by a fixed positive number
¾ Enter the setting for Row/Column/X Pitch/Y Pitch,
Left/Right/Top/Bottom Enclosure, Rotate, Justify, and
Magnification
Confidential

¾ Click Apply button to complete the setting


Fill Object

Fill Region

60 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Modify Fill Setting

‹ Operation flow
¾ Modify the values in Instance Setting frame
¾ Change Fill Region
• Check the option: Change Selection
• Check the option: Fill Region
Confidential

• Select shape
– Shift+click to add new shape
– Ctrl+click to remove shape
• Click Apply to commit the change
¾ Change Fill Object
• Check the option: Change Selection
• Check the option: Fill Object
• Select instance/UDD/shapes
– Shift+click to add new instance
– Ctrl+click to remove instance
• Click Apply to commit the change

61 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Fill Constraint - Example

62 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint – Justify Example

UpperLeft UpperRight
Confidential

LowerLeft LowerRight

63 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint - Example

‹ Difference between Fill types: Guardring and


Contact
Confidential

Difference

Guarding Contact

64 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Fill Constraint - Example

‹ Difference between Distributed and Non-


distributed for Contact Type Fill scheme
¾ Only apply to Rectangle shapes
¾ If the value of Row or Column is not specified, Laker will
use the maximum number to fill the target objects.
Confidential

Distributed

Non-Distributed

65 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint
<1>SIZE: For all direction using the same size , both + or -

<2> OR: A B
<3>AND: A B
Confidential

<4>NOT:
A B

<5>GROW: Top,Bottom,Left,Right ,only for +

<6>SHRINK: Top,Bottom,Left,Right,only for -

<7>SIZE4DIR: Top,Bottom,Left,Right, both + or -

66 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint

Parameter

Fix Layer
Result
Layer
Confidential

Variable
Layer

For NOT

67 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint

‹ Button
‹ Purpose
¾ Generate new shapes from selected objects with
Boolean operator SIZE, OR, AND, NOT, GROW, SHRINK,
and SIZE4DIR
Confidential

• The Boolean constraint is evaluated after the geometry


constraint evaluation (distance and align constraints)
‹ Operation steps
¾ Click Boolean button
¾ Give an unique name
¾ Click OK button to add a Boolean procedure
¾ Select a Boolean operator
¾ Choose the result layer from layer parameter list or layer
of current library
¾ Press Apply button to confirm the change

68 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – SIZE operator

‹ Operation steps
¾ Click on Type field and choose SIZE operator
¾ Check the option: Modify Selected Shape
¾ Select desired shapes
¾ Click Apply button to commit the selected shapes
Confidential

¾ Click on Name field and specify the constraint name


¾ Click on Size field and assign the desired value or
expression
¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed
layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
¾ Click Apply button to commit the change

69 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: SIZE
Confidential

70 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – OR operator

‹ Operation steps
¾ Click on Type field and choose OR operator
¾ Check the option: Modify Selected Shape
¾ Select desired shapes
¾ Click Apply button to commit the selected shapes
Confidential

¾ Click on Name field and specify the constraint name


¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed
layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
¾ Click Apply button to commit the change

71 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: OR
Confidential

72 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – AND/NOT operator

‹ Operation steps
¾ Click on Type field and choose AND or NOT operator
¾ Check the option: Modify Selected Shape
¾ Check the radiobutton: 1st Select Set
¾ Click desired shape
Confidential

• Shift+click to add extra shape, Ctrl+click to remove selected


shape
¾ Check the radiobutton: 2nd Select Set
¾ Select desired shapes
• Shift+click to add extra shape, Ctrl+click to remove selected
shape
¾ Click on Name field and specify the constraint name
¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
73
¾ Click Apply button to commit the change
2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: AND
Confidential

74 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: NOT
Confidential

75 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – GROW/SHRINK operator

‹ Operation steps
¾ Click on Type field and choose GROW or SHRINK operator
¾ Check the option: Modify Selected Shape
¾ Click desired shape
• Shift+click to add extra shape, Ctrl+click to remove selected
Confidential

shape
¾ Click on Name field and specify the constraint name
¾ Select the GROW/SHRINK enclosure rules
• Can be variable
• Always positive values
¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed
layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
76 ¾ Click Apply button to commit the change
2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: GROW
Confidential

77 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example

‹ Operator: SHRINK
Confidential

78 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – SIZE4DIR operator

‹ Operation steps
¾ Click on Type field and choose SIZE4DIR operator
¾ Check the option: Modify Selected Shape
¾ Click desired shape
• Shift+click to add extra shape, Ctrl+click to remove selected
Confidential

shape
¾ Click on Name field and specify the constraint name
¾ Select the GROW/SHRINK enclosure rules
• Can be variable
• Can be positive or negative values
¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed
layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
¾ Click Apply button to commit the change
79 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint – Example
‹ Operator: SIZE4DIR
Confidential

80 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Boolean Constraint - Modify

‹ Operation steps
¾ Check the option: Modify Select Shape
¾ Check the radiobutton: 1st Select Set or 2nd Select Set
dependent the Boolean operator
¾ Shift+click to add shape
Confidential

¾ Ctrl+click to remove selected shape


¾ Select the result layer in Result frame
• Select the radiobutton: Physical Layer and specify a fixed
layer
• Select the radiobutton: Layer Parameter and specify a layer
type parameter if the result layer must be changeable
¾ Press Apply button to confirm the change

81 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
CutCorner Constraint

‹ Button
‹ Purpose
¾ Generate 45 degree shape by using Cut Corner function
‹ Operation Steps
Confidential

¾ Check the option: Modify Select Set


¾ Shift+click to drag a area on desired vertices (area
selection)
¾ Click Apply button to commit the selected vertices
¾ Click on Value field of attribute: Cut Length and assign
the expression or a fixed float number
¾ Click on Value field of attribute: Arc Sides and assign the
expression or a fixed integer number
¾ Click Apply button to commit the change

82 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
CutCorner Constraint – Example

<1>Cut Length =0.5 ,Arc Sides=1 0.5

Cut Length
Confidential

<2 >Cut Length =0.5 ,Arc Sides=2

2
1

83 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential CutCorner Constraint – Example

84 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Remove Constraint

‹ Button
‹ Purpose
¾ Remove objects from the evaluated result
‹ Operation steps
Confidential

¾ Check the option: Modify Select Set


¾ Shift+click to add shapes for deleting
¾ Click Apply button to commit the selected objects
¾ Click on Condition field and assign the conditional
expression
• The selected objects will be deleted when the result of the
conditional expression is TRUE (1)
¾ Click Apply button to commit the change

85 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Remove Constraint – Example

86 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Procedure Script Constraint – Import

‹ Button
‹ Purpose
¾ Import a Tcl file that includes the necessary
subroutines for this UDD cell
Operation steps
Confidential

‹
¾ Click Procedure Script button
¾ Check the radiobutton: Import
¾ Click Browse button to choose the desired Tcl script or
directly enter the file name
¾ Click OK button to load the Tcl script

87 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Procedure Script Constraint – Modify/Dump

‹ Operation flow for Modify


¾ Click Modify button
¾ Check the radiobutton: Import
¾ Modify the desired tcl script file name
¾ Click OK button to load the Tcl script
Confidential

‹ Operation flow for Dump


¾ Click Dump button
¾ Check the radiobutton: Dump
¾ Specify the desired tcl script file name
¾ Click OK button
• Laker will dump the Procedure Script content as a file

88 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Procedure Script Constraint – Viewing
‹ Operation flow for Viewing
¾ Click desired procedure name
• Laker will popup a viewer to view the selected subroutine
¾ Click Close button to close the viewer
Confidential

89 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Operation Script Constraint

‹ Button
‹ Purpose
¾ Define the Tcl-based commands to perform specific
tasks that cann’t be done by existing procedures
Operation steps
Confidential

‹
¾ Click Operation Script button
¾ Check the radiobutton: Import
¾ Click Browse button to choose the desired Tcl script or
directly enter the file name
¾ Click OK button to load the Tcl script

90 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Operation Script Constraint – Modify/Dump

‹ Operation flow for Modify


¾ Click Modify button
¾ Check the radiobutton: Import
¾ Click Browse button to choose the desired Tcl script or
directly enter the file name
Confidential

¾ Click OK button to load the script

‹ Operation flow for Dump


¾ Click Dump button
¾ Check the radiobutton: Dump
¾ Specify the desired tcl script file name
¾ Click OK button
• Laker will dump the Procedure Script content as a file

91 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Operation Script Constraint – Viewing

‹ Operation flow for Viewing


¾ Click Viewing button
¾ Check the radiobutton: Viewing
¾ Click OK button
• Laker will popup an editor and load the Tcl script for viewing
Confidential

and editing
¾ Click Save button to save into disk
¾ Click Close button to close this editor

92 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Operation Script Constraint – Example

93 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Reported Distance Constraint

‹ Button
‹ Purpose
¾ Define the variable to report the space between two
edges
Operation steps
Confidential

‹
¾ Click Reported Distance button
¾ Specify an unique name
¾ Click OK button to add a Reported Distance procedure
¾ Click Add button to append a blank distance constraint
• Click on the desired two edges
• Enter the desired constraint name
¾ Click Apply button to commit the change
¾ Click Save button to write to disk

94 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Return Value Constraint

‹ Button
‹ Purpose
¾ Define the variable to report the calculated value for the
test line documentation
Operation flow
Confidential

‹
¾ Click Return Value button
¾ Click Add button to append a blank parameter name
• Enter the desired constraint name
• Write the expression
¾ Click Apply button to commit the change
Note:
The values of the Return Value parameter can be verified by
pressing
F3 on Preview window
95 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Reported Distance Constraint – Example

Report_w =3
Confidential

W=2

Report_w =5

W=4

96 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Return Value Constraint – Example

W
Confidential

CA_Col=7

CA_Num=($W-$CW-2*$OD_CA_Enc)/($CW+$CS)+1=7.5
CA_Col=int($CA_Num)=7

97 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Rule Checker

‹ Button
‹ Purpose
¾ Report the ambiguous constraints, typo or undefined
parameters
Operation steps
Confidential

‹
¾ Click Check button
• Popup report form to list all over constraint problems
• Keep silent if there is no warning or fatal errors
¾ Click on the problem in the dialog box
The related edges and rule name will be highlighted in
layout window
¾ Click rule name in layout window to view the constraint
¾ Verify the problem and fix it if necessary

98 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Rule Checker – Example

99 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Rule Finder

‹ Button
‹ Purpose
¾ Report the detail constraints on selected shape
‹ Procedure
Confidential

¾ Click button to toggle on


¾ Select the desired shape
• The constraints related to the selected object show on the
screen
¾ Click desired constraint on layout window
• The constraints related to the selected rule are listed for
choice
¾ Click desired rule from the Rule Finder form
¾ Verify the constraint setting
¾ Click button to toggle off
100 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Rule Finder – Example
<1>Click on Rule
<4>Select the Finder <2>Click the edge
Procedure
Confidential

<3>Click which you


<5> Rule Find !
want to find

101 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Preview

‹ Button
‹ Purpose
¾ Evaluate the UDD and show the final layout pattern
‹ Operation steps
Confidential

¾ Click Preview button


¾ Press F3 on preview area to popup UDD Preview window
¾ Modify the parameter values and click Apply to get new
evaluation result
¾ Click Preview button or press ESC to Close Preview window

102 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Preview – Example

2.Modify
the
values
Confidential

1.Press F3 here to
popup
the preview form

3.Modify the values and click Apply to see the


change

103 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Preview - Measure

‹ Operation steps
¾ Press bindkey ‘d’ to enter the Preview Distance mode
¾ Click on desired edge to set as reference edge
¾ Move mouse cursor on interested edge
• The distance information shows in yellow tip
Confidential

¾ Click-right to place a ruler between these two edges


¾ Press ESC to escape the Measure Distance function

104 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Find

‹ Purpose
¾ Search the constraint setting by giving keyword
‹ Operation steps
¾ Select menu: UDDÆParameterÆFind
Confidential

¾ Enter the keyword in Find field


¾ Check the radiobutton: All or Option to find on certain
procedures
¾ UnCheck the option: Highlight Rule if you don’t want to
see the highlight on layout window
¾ Click Find button to search whole UDD and list the result
¾ Click on result grid to highlight the constraint on layout

105 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Find – Example

‹ Support Wildcard to search for keyword


Confidential

106 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Replace

‹ Purpose
¾ Replace as certain string by giving keyword for searching
‹ Operation steps
¾ Select menu: UDDÆParameterÆReplace
¾ Enter the keyword in Find field
Confidential

¾ Enter the target string in Replace With field


¾ Check the radiobutton: All or Option to find on certain
procedures
¾ UnCheck the option: Highlight Rule if you don’t want to see
the highlight on layout window
¾ Click Find button to search whole UDD and list the result
¾ Click on result grid to highlight the constraint on layout
¾ Click Replace button to replace current selected constraint
¾ Click Rep. All button to replace all constraints

107 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Replace – Example

108 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Shape Creation Tips
Shape Creation Tips

‹ Import Existing Layout


‹ Import Existing Parameter
‹ Refresh Device
‹ Shape Creation Guideline
Confidential

‹ Define Connection Port Information


‹ Tcl Programming Guideline

110 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Import Existing Layout

‹ Purpose
¾ Use the existing layout without recreating
‹ Operation steps
¾ Select menu: CellÆImportÆLayout
Confidential

¾ Select the desired layout cell in the popup form


¾ Click OK to load the layout data into UDD editor

111 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Import Existing Parameter

‹ Purpose
¾ Import the parameters defined in existing UDD cell
‹ Operation steps
¾ Select menu: CellÆImportÆParameter
Confidential

¾ Select the desired UDD cell in the popup form


¾ Click OK to load the parameter setting into UDD editor

112 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Refresh Device

‹ Purpose
¾ Synchronize the instance contents of hierarchical UDD
contents with updated UDD cell
‹ Operation steps
¾ Close all the desgin to close the library
Confidential

¾ Select menu: LibraryÆRefresh Device


¾ Select desired library name
¾ Check the option: Update Procedure Script in UDD if
some procedure scripts are revised
¾ Click Apply button to refresh all cells

113 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Shape Creation Guideline

‹ Keep the relative shape edges by following the


evaluation sequence
¾ Evaluate edges from left to right, then from bottom to top
‹ Copy
Confidential

¾ The copied objects don’t inherit the rules from the source
objects
¾ The copied objects inherit the attribute constraints
‹ Trade-off
¾ Try Align or Distance constraint on edges to get desired
result
‹ Attach label on shape/instance
¾ The easiest way to get the object ids for the selected
shapes or instance with the label name
• Used for Tcl programming in Operation Script constraint
114 ¾ The label name must be unique in this UDD
2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Define Connection Port Information

‹ Purpose
¾ Define the connection ports for a UDD cell
‹ Operation steps
¾ Select menu: CreateÆPin
Confidential

¾ Press F3 key to popup the option form


¾ Specify the desired net name, port name and unique pin
name
¾ Create the desired pin shape
• Declare the connection location
‹ You can also change attribute after you create
the shape.
Note:
1. Pin name must be unique, no need to have the same name as
port
115 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Define Connection Port Information

‹ Example
Confidential

116 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Summary

‹ Purpose
¾ Provide the detail constraint report in ASCII format
‹ Operation steps
¾ Select CellÆSummary
Confidential

¾ Click Apply button


¾ Click Save button if you want to have an ASCII report

117 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential Summary – Example

118 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Tcl Programming Guideline – Operation
Script

‹ Can refer to the parameters defined in all of the


procedures
‹ Can refer to the text labels that are attached on the
correspondent shapes
Confidential

‹ Use $dbParameterizedCell as the created sub-


master UDD’s cellview id
‹ Valid commands for shapes manipulation
¾ dbUDDCopy
¾ dbUDDFill
¾ dbUDDBool
¾ dbUDDDelete

119 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Tcl Programming Guideline

‹ Don’t declare procedures outside device body


¾ The device will fail to evaluate if these procedures are
not defined
• Forget to load some Tcl scripts into Laker before evaluating
the P-Device
64k bytes file size limitation for each P-Device
Confidential

‹
body
¾ The file size of Procedure Script can’t exceed 64k bytes
¾ The file size of Operation Script can’t exceed 64k bytes
(limited by Laker database)
‹ Don’t use the Tcl command: source to load other
Tcl scripts
¾ Hard to deliver the library
• Might lost some files

120 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDCopy

‹ Purpose
¾ Duplicate shapes
‹ Syntax
dbUDDCOPY –figs FigList –cols XCnt –rows YCnt –colSpace
XPitch –rowSpace Ypitch
Confidential

‹ Argument
¾ -figs FigIdList Fig id list of objects
¾ -cols/rows X/Y repeat count
¾ -colSpace/-rowSpace X/Y pitch value
‹ Returned value
FigIdList

121 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDCopy

‹ Example
set copyObjs [dbUDDCopy –cv $dbParameterizedCell \
-figs $contObjs –rows 10 –cols 20 \
-colSpace 3 –rowSpace 2
Confidential

122 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDFill

‹ Purpose
¾ Fill a specific area with giving cell
‹ Syntax
dbUDDFill –cv cvId –figs FigList –lib libName -cell cellName
-colSpace XPitch –rowSpace Ypitch –leftEnc leftEnc
-rightEnc rightEnc –topEnc topEnc –bottomEnc bottomEnc
Confidential

-method [contact/guardring] [-justify justification] [-magni


magnification] [-orient orientation]
‹ Argument
-figs FigIdList Fig id list of objects
-lib libName library name
-cell cellName master cell name
-XPitch/YPitch X/Y pitch value
-leftEnc/rightEnc/topEnc/bottomEnc
Enclosure rule (default value: 0.0)

123 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDFill

‹ Argument
-method [contact|guardring]
Fill-in scheme (default = contact)
-justify justification Justification.
The value can be
Confidential

[Upper/Center/Lower][Left/Center/Right]
(default = CenterCenter)
-magni magnification Size. (default = 1.0)
-orient orientation (default = R0)
‹ Returned value
FigIdList

124 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDFill

‹ Example
set fillObjs [dbUDDFill –cv $dbParameterizedCell \
-figs $actRegion –lib Test –cell cont08 \
-colSpace 3 –rowSpace 2 –leftEnc 0.5 \
-rightnc 0.5 -topEnc 0.5 –bottomEnc 0.5 \
Confidential

-mode contact]

125 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDBool

‹ Purpose
¾ Do the Boolean operation
‹ Syntax
dbUDDBool –cv cvId –action [AND|OR|NOT|SIZE] –outputLayer
layer1
–opnd1 FigList1 –opnd2 FigList2
Confidential

dbUDDBool –cv cvId –action AND/OR/NOT/SIZE –outputLayer


layer1
–opnd1Layer {layer2 purpose 2} –opnd2Layer {layer3 purpose
3}
-sizeValue value
‹ Argument
-figs FigIdList Fig id list of objects
-action [AND|OR|NOT|SIZE] Type of Boolean operation
-outputLayer output layer
-opnd1/opnd2 FigList Input fig list
-opnd1Layer/opnd2Layer Input layer
126 -sizeValue
2005/5/20 value © 2004, Silicon Canvas, Inc. only for SIZE type
Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDBool

‹ Example
set boolObjs1 [dbUDDBool –cv $dbParameterizedCell \
-action SIZE –outputLayer MET1 \
-opnd1 $figList1 –opnd2 $figList2 \
-sizeValue 0.5]
Confidential

set boolObjs2 [dbUDDBool –cv $dbParameterizedCell \


-action AND –outputLayer MET1 \
-opnd1Layer {OD drawing} \
–opnd2Layer {POLY drawing} ]

127 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDDelete

‹ Purpose
¾ Delete the specific evaluated shapes
‹ Syntax
dbUDDDelete –figs FigList
Confidential

‹ Argument
-figs FigIdList Fig id list of objects

128 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD TCL Command - dbUDDDelete

‹ Example
set fillObjs [dbUDDFill –cv $dbParameterizedCell \
-figs $actRegion –lib Test –cell cont08 \
-XPitch 3 –YPitch 2 –LEncl 0.5 –REncl 0.5 \
-TEncl 0.5 –BEncl 0.5]
Confidential

dbUDDDelete –figs $actRegion

129 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Hand -on labs
Hand-on

‹ Lab 2-1-1 Create UDD


‹ Lab 2-1-2 Open Existing Cell
‹ Lab 2-1-3 Import Existing Layout
‹ Lab 2-2-1 Add a Parameter Procedure
Confidential

‹ Lab 2-2-2 Add a Distance Procedure


‹ Lab 2-2-3 Add a Align Procedure
‹ Lab 2-2-4 Add a Copy Procedure
‹ Lab 2-2-5 Add a Fill Procedure
‹ Lab 2-2-6 Add a Boolean Procedure

130 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-1
-1 -1 Create UDD

‹ Purpose
¾ Understand how to create a UDD
‹ Steps
¾ Create a new device
Confidential

• Select Cell -> UDD -> New UDD


• Specify library name
• Specify cell name
• Click OK to create new UDD

131 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-1
-1 -1 Create UDD

‹ Result
Confidential

132 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-2
-1 -2 Open Existing Cell

‹ Steps
¾ Open existing UDD
• Select File -> Open in Laker main window
– Select library demo
– Select test structure cell meander
Confidential

– Click OK button
¾ Save design
• Select Cell ->Save
• Select Cell ->Save As
¾ Close UDD window
• Select Cell ->Close

133 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-2
-1 -2 Open Existing Cell

‹ Result
Confidential

134 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-3
-1 -3 Import Existing Layout

‹ Purpose
¾ Reuse the existing layout for UDD creation
‹ Steps
¾ Select Cell -> Import on UDD window
Confidential

¾ Specify library demo and cell mos_layout


¾ Click OK to Import layout database to UDD window

135 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-1-3
-1 -3 Import Existing Layout

‹ Result
Confidential

136 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-1
-2 -1 Add a Parameter
Procedure

‹ Purpose
¾ Define parameters for structure creation
‹ Steps
¾ Click Parameter button
Confidential

• Give the parameter name vars and click OK button


¾ Click Add button to add a blank line
¾ Click on field
• Type and choose the type from popup
list
• Name and enter the parameter name
• Default and enter the default value
¾ Check the field: Avail off if the parameter is only used
internally
¾ Click Save button and save to disk
137 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-2
-2 -2 Add a Distance
Procedure

‹ Purpose
¾ Apply the distance rules on the specific edges
‹ Steps
¾ Click Distance button
Confidential

¾ Click Add button and move mouse cursor on layout


window
¾ Left-click two edges in the same horizontal or vertical
direction
¾ Enter the unique parameter name
¾ Click on Value field and enter the desired value,
parameter name or expression
¾ Press ENTER key to finish the input
¾ Click Modify button to confirm the change
¾ Click Save button and save to disk
138 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-2
-2 -2 Add a Distance
Procedure
‹ Result
Confidential

139 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-3
-2 -3 Add a Align Procedure

‹ Purpose
¾ Apply the Align rules on the specific edges and see the
difference between Distance and Align procedures
‹ Steps
¾ Click Align button
Confidential

¾ Click Add button and move mouse cursor on layout


window
¾ Left-click two edges in the same horizontal or vertical
direction
¾ Enter the unique parameter name
¾ Click on Value field and enter the desired value,
parameter name or expression
¾ Click Modify button to confirm the change
¾ Click Save button and save to disk

140 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-3
-2 -3 Add a Align Procedure
‹ Result
Confidential

141 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-4
-2 -4 Add a Copy Procedure

‹ Purpose
¾ Define the Copy scheme on the selected shapes
‹ Steps
¾ Click Copy button
Confidential

¾ Check the option: Modify Select Set


¾ Click on shape(object) to select as the object for Copy
¾ Click Modify button to commit the selected shape
¾ Click on Value field and enter the desired value,
parameter name or expression
• Enter the values for Columns, Rows, X Pitch and Y Pitch
¾ Click Modify button to commit the change
¾ Click Save button and save to disk

142 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-4
-2 -4 Add a Copy Procedure
‹ Result
Confidential

143 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-5
-2 -5 Add a Fill Procedure

‹ Purpose
¾ Define the Fill scheme on the selected shape and fill
with an instance
‹ Steps
¾ Click Fill button
Confidential

¾ Check the option: Change Fill Region


¾ Click on shape(object) to select as the object for Fill
¾ Click Modify button to commit the selected shape
¾ Specify the library and cell names in Fill Instance
¾ Specify the Fill Type as Contact or Guard Ring
¾ Click on Value field and enter the desired value or
parameter
¾ Click Modify button to commit the change
¾ Click Save button and save to disk
144 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-5
-2 -5 Add a Fill Procedure
‹ Result
Confidential

145 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab 22-2-6
-2 -6 Add a Boolean
Procedure

‹ Purpose
¾ Apply the Boolean operation on selected shapes
‹ Steps
¾ Click Boolean button
Confidential

¾ Check the option: Modify Selected Shape


¾ Click on shape and select for Boolean operation
¾ Click Modify button to commit the selected shape
¾ Click on Type field and choose the Boolean operation
command (SIZE, AND, OR, and NOT)
¾ Click on Name field and give the name for this
operation
¾ Click on Size field and enter the desired value or
parameter
¾ Specify the result layer name
146 ¾ Click Modify button to commit the change
2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
¾ Click Save button and save to disk
Lab 22-2-6
-2 -6 Add a Boolean
Procedure
‹ Result
Confidential

147 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD Project

‹ How to create the transistor device in UDD


¾ Import design from Laker database
¾ The names for this transistor port are: D, G, S, B
¾ The contact cut number should be automatically
adjusted by channel width
Confidential

¾ The contact cut should align to center of the diffusion


¾ Try to build the hierarchical UDD to reduce the
constraints
¾ Target: Can change W and L to see the difference

148 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
UDD Project – Necessary parameters

‹ Here lists some MUST HAVE parameters


W Channel width
L Channel length
CW Contact cut width
CS Contact cut space
Confidential

OD_CA_Enc Diffusion to contact cut enclosure


M1_CA_Enc Metal 1 to contact cut enclosure

‹ Please define extra parameters for your


transistor

149 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential UDD Project – Necessary equations

‹ Maximum number of contact cut on diffusion


CA_Num <= ($W -$CW – 2 * $OD_CA_Enc) / ($CW +
$CS)+1
CA_Num = int(($W - $CW– 2 * $OD_CA_Enc) / ($CW + $CS))+1

‹ The enclosure space for diffusion to contact cut


OD_CA_Enc1 = 0.5 * ($W + $CS – $CA_Num * ($CW + $CS))

150 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential UDD Project – Necessary equations

‹ Align two shapes based on center line


0.5 * $W1 + $Offset = 0.5 * $W2
Offset = 0.5 * ($W2 - $W1)

151 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Confidential UDD Project – Necessary equations

‹ Align two shapes based on center line


0.5 * $W1 + $Offset = 0.5 * $W2
Offset = 0.5 * ($W2 - $W1)

152 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -1-1 Distance
A-1-1

A Basic UDD Device with Distance Proc


Input Result

Coh 1
Cow 2
Confidential

$Coh=w1

$Cow=w2 Coh 2
Cow 1

153 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -1-2 Distance
A-1-2
<1>Open Æ Laker

<2>Main window:LibraryÆNew Æ Name: UDD_test


Æ OK

<3>Main window:Cell Æ UDD ÆNew UDD ÆName: Distance_cell


Confidential

Æ OK

<4>Draw a contact with CONT Layer Æ

<5>
Parameter

154 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -1-3 Distance
A-1-3
<6>Parameter :

Add Apply
Confidential

<7>
Distance

<8> Distance:

Add

155 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -1-4 Distance
A-1-4
<9> >Rule Check

<10>

No Warning
Confidential

No Error

<11>
Layout
Window

Preview
Preview
Window

156 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -1-5 Distance
A-1-5
<12>(cursor on preview window ) Æ F3
<13>Input
Confidential

<14> Æ Apply

<15>Preview
<16>Redo <13> ~<15>
for test Coh
<17> Save Cow
<18> Save as co_cell

<19> End #

157 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -2-1 Distance
A-2-1

Measure Distance

<1> In preview window


Confidential

<2> Press “d”

<3> Click on edges


with Click-right

<4> Shift+k to clear

<5>End #

158 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -3-1 Distance
A-3-1
<1> Modify Distance_cell

Draw three
new shape
Confidential

<2> Redo A-1-5 12~15


set Coh=1,Cow=3

<3> Preview
Mov
Mov e
<4> End #
e
Mov
e

159 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab A -4-1 Distance
A-4-1
<1> Modify Distance_cell

<2>In Distance Proc :


Set w1=$Coh*2
w2=$Cow*2
Confidential

<3> Preview

<4> End #

160 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab B -1-1 Align
B-1-1
<1>Open Æ co_cell

<2>Del Distance Proc

<3>
Align
Confidential

<4> Setup

Add

Check the button!

161 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab B -1-2 Align
B-1-2
<5>Set Coh=1,Cow=3

<6> Preview
Confidential

No Move

<7> Check the different No Move


with Distance Proc
No Move
<8> Save

<9>End#

162 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -1-1 Attribute
C-1-1
<1> With co_cell
<2>Adding a layer parameter
in Parameter Proc

<3>Select the object


Confidential

<4>
Attribute

<5>Change Input Parameter

<6> Æ F3

<7>Set to MET1

163 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -1-2 Attribute
C-1-2
<8>Preview
Confidential

Change to MET1

<9> Save
<10> End#

164 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -2-1 Attribute
C-2-1 Attribute -instance

<1>New a instance Æ with CONT layer 1umx1um Æco_ins_cell


<2>Create a UDD cell Æ Att

<3>Create Parameter
Confidential

<4>Create the instance Æco_ins_cell

<5>Select the object


<6> Attribute

<7> Set Attribute

165 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -2-2 Attribute
C-2-2 Attribute -instance

<8>Preview
Confidential

166 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -2-3 Attribute
C-2-3 Attribute -instance

<9> Æ F3

<10>Set :

Row=2
Col=3
Confidential

Xpitch=2
Ypitch=4

<11>Preview

<12>End #

167 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -3-1 Attribute
C-3-1 Attribute -UDD

<1>Open UDD cell co_cell

<2> set w1 & w2 =$Cow


<3>Save & Close

<4> New UDD cell Æ Att_step_cell


Confidential

<5> Create a device co_cell

<6> Set Parameter for co_cell

168 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -3-2 Attribute
C-3-2 Attribute -UDD

<7> Set Attribute for co_cell


Confidential

<8> Preview
<9> Test
<10>End #

169 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab C -4-1 Attribute
C-4-1 Attribute -Step

<1>With Lab C-3-2


<2>Set Attribute Rows=1

<3 >Set Attribute Step Cow =1


Confidential

<4> Preview

<5>End#

170 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-1 MOS Project
D-1-1
<1> A MOS by UDD device :

MOS_W Fill with Contact


MOS_L CW
CW
…..
Confidential

..
.

MOS_L
MOS_W

171 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-2 MOS Project
D-1-2
Confidential

Proc List

172 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-3 MOS Project
D-1-3 Parameter Setting
Confidential

173 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-4 MOS Project
D-1-4 Distance Setting

Dis2
Dis2
Confidential

OD_W1

L1
W1

OD_W2

174 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-5 MOS Project
D-1-5 Align Setting

1
2 2
1
Confidential

3
4
5
6 11
7
8
9
10
11 12
12
13
14

175 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-6 MOS Project
D-1-6 Align Setting

5a 3
Confidential

8 6

13 14
7
9
5b
10
4

P.S :Edge 5a&5b are grouped


176 2005/5/20 © 2004, Silicon Canvas, Inc.
Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-7 MOS Project
D-1-7 Boolean Setting
Confidential

177 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-8 MOS Project
D-1-8 Fill Setting

Fill Region
Confidential

Fill Object

178 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-9 MOS Project
D-1-9 Remove & Return
Confidential

179 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-10 MOS Project
D-1-10
Result -1
Confidential

180 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-11 MOS Project
D-1-11
Result -2 Set MOS_L=0.2 ,MOS_W=5
Confidential

181 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization
Lab D -1-12 MOS Project
D-1-12
Result -3 Set CW=3
Confidential

182 2005/5/20 © 2004, Silicon Canvas, Inc.


Duplication, reuse or transfer of ownership requires advance written authorization

You might also like