Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Virtuoso - Any command to measure area of polygon or path ?

Status
Not open for further replies.

chickenvlsi

Newbie level 6
Joined
Jun 4, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,397
virtuoso layout measure area

Hi all,
In Cadence Virtuoso layout editor, is there any command to measure area of a polygon or path ?
What I currently do to measure the area of a shape is that I measure length and width using ruler, then calculate its area ( Which is widthxlength for a rectangular shape) and it is really time-consuming.
Thanks very much
 

anandiiyer

Newbie level 1
Joined
Aug 24, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Kharagpur India
Activity points
1,284
how do i find path length in virtuoso

I don't think you have such a direct command in cadence...

but writing a skill code for the same involves just few steps
 

ksj116

Newbie level 6
Joined
Nov 27, 2007
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,281
Location
China
Activity points
1,336
to measure an area

as the above said, i think this can do but caculating the area of a polygon need to be which ieda for the skill programming.
 

chickenvlsi

Newbie level 6
Joined
Jun 4, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,397
vituoso skill commands

Thank you very much for your replies
I really appreciate those!
 

kumar_eee

Advanced Member level 3
Joined
Sep 22, 2004
Messages
814
Helped
139
Reputation
276
Reaction score
109
Trophy points
1,323
Location
Bangalore,India
Activity points
4,676
area in polygon

you can use the skill to get the coordinates of the shape & based on that you can calculate the area.

Find a sample code below to calculate the prBounday area.

cv=dbOpenCellViewByType(lib_name cell_name "layout" nil "r")
xcoord=xCoord(cadar(setof(x cv~>shapes x~>lpp == list("prBoundary" "drawing"))~>bBox))
ycoord=yCoord(cadar(setof(x cv~>shapes x~>lpp == list("prBoundary" "drawing"))~>bBox))
area=xcoord*ycoord


Hope this helps..
 

cop02ia

Member level 5
Joined
Jan 4, 2008
Messages
83
Helped
29
Reputation
58
Reaction score
12
Trophy points
1,288
Activity points
1,905
virtuoso skill commands

Hi,
There are answers in Sourcelink.
Just search for product solution 11248454 for the polygons.
To get area of a path, try product solution 11422112 to get the path length & multiply by the width of your path.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top