Home > Community > Forums > Custom IC SKILL > Pcell --- create donut depend on conic sides

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Pcell --- create donut depend on conic sides  

Last post Mon, Oct 19 2009 12:23 AM by akinh. 2 replies.
Started by akinh 15 Oct 2009 03:58 AM. Topic has 2 replies and 1478 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Oct 15 2009 3:58 AM

    • akinh
    • Not Ranked
    • Joined on Thu, Oct 15 2009
    • Posts 2
    • Points 25
    Pcell --- create donut depend on conic sides Reply

    Hi all

        I just want to construct one PCell with "donut" shapes,but encountered some problems.
    All that i want to do is to get one donut owned its' conic sides ,and the value of conic sides is set from Layer Editing(Option -> Layout Editor... -> Conic Sides)    
    I try to get the donut with conic sides is '20'(default:20) using SKILL function called "dbLayerAndNot", but finally i got
    a donut with conic sides is '24'.
    I have post my SKILL code to you as below.

    Is any one can give me some suggestion, or knows any founction or method can let me control the conic sides of donut in PCell?

    SKLLL code:

    ;---start

    inside = Radius/2
    outside = Radius/2+Width
    (pcLayer = 9)
    (pcPurpose = "drawing")
    (pcInst = dbCreateDonut(pcCellView
              list(pcLayer pcPurpose)
               (0.0:0.0) outside inside
    ))

    (pcLayer = 11)
    (pcPurpose = "drawing")
    (shape = dbCreatePolygon(pcCellView
             list(pcLayer pcPurpose)
             list(-outside:0.0 outside:0.0 outside:-outside -outside:-outside)
    ))

       dbLayerAndNot(pcCellView "met1" list(pcInst) list(shape))
       dbDeleteObject(pcInst)
       dbDeleteObject(shape)


    ;--- end

    ps:
       Virtuoso Layout Editor, version is 5.10.41

    • Post Points: 20
  • Thu, Oct 15 2009 4:07 AM

    Re: Pcell --- create donut depend on conic sides Reply

    Use dbConvertDonutToPolygon prior to using the dbLayerAndNot. Then you have complete control over the number of sides used in the conversion.

    Best Regards,

    Andrew.

    • Post Points: 20
  • Mon, Oct 19 2009 12:23 AM

    • akinh
    • Not Ranked
    • Joined on Thu, Oct 15 2009
    • Posts 2
    • Points 25
    Re: Pcell --- create donut depend on conic sides Reply

    Hi Andrew

         It really works, thanks your reply!

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by akinh at 15 Oct 2009 03:58 AM. Topic has 2 replies.