Saturday, July 05, 2008     Register | Login | Search | Contact Us
     
Home
Forums
Subject: Drawing circles in Virtuoso
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
jgrant3
Posts: 9
Online: User is Offline
5/15/2008 1:00 AM  
    Simple question. How do you draw circles in Virtuoso?

If it's not possible does anyone know of a skill files that can be used to create a polygon with many vertices such that it's almost a perfect circle?

Many thanks,

James
rairaj
Posts: 16
Online: User is Offline
5/15/2008 5:02 AM  
dbCreateEllipse( geGetWindowCellView() "metal1" list( -2:-2 2:2 ))

Pass the list the two ends of the diameter of a circle as shown above.


RR
jgrant3
Posts: 9
Online: User is Offline
5/15/2008 6:18 AM  
Posted By rairaj on 5/15/2008 5:02 AM
dbCreateEllipse( geGetWindowCellView() "metal1" list( -2:-2 2:2 ))

Pass the list the two ends of the diameter of a circle as shown above.


RR
Thanks RR for your response.

So I just type the above command into the CIW?

I've tried so and get the following error:

"Syntax error encountered in input".

Also could you please explain what "pass the lost the two ends of the diameter of a circle" precisely means?

Thanks,

James



rairaj
Posts: 16
Online: User is Offline
5/15/2008 6:36 AM  
There must have been some typo when you tried it should have worked. Just open a layout cellview and type the command mentioned by me.

You need to pass the coordinate of bounding box which can enclose the circle. For example, above has:
lowerLeft -2:-2
upperRight 2:2

These coordinates can also be calculated based on a given center point and radius. For example: assume that center point is at 1:2 and radius of circle needed is 3 then:
lowerLeft= 1-3:2-3 = -2:-1
upperRight= 1+3:2+3 = 4:5

You can call:
dbCreateEllipse( geGetWindowCellView() "metal1" list( -2:-1 4:5))

Thanks,
RR
adbeckett
Posts: 242
Online: User is Offline
5/15/2008 6:43 AM  
Why do this with SKILL (the original question was how to do this in Virtuoso)?

Simply use Create->Conics->Circle in the layout editor, and follow the prompts at the bottom of the window.

Easy. No need to use SKILL for an interactive operation like this.

Andrew.
jgrant3
Posts: 9
Online: User is Offline
5/19/2008 12:45 AM  
Thanks Andrew. Who knew drawing circles in Virtuoso could be so simple! I'd been told 1000 times by experienced Cadence users that it was only possible to draw circles in Virtuoso using a skill file. A lesson for all I feel........

Cheers

James
Posting to forums is available to community members only.
Login or Register

Forums > Custom IC > Custom IC Physical Design > Drawing circles in Virtuoso


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.