• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. PCell for a partial torus

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 13249
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PCell for a partial torus

archive
archive over 17 years ago

Hello Folks,
I would like to create a PCell for a partial torus with three parameters, outer radius, inner radius (size of hole for a complete torus) and azimuth angle (or fraction of a complete torus). 
Thanks from a
Newbie


Originally posted in cdnusers.org by deanjennings
  • Cancel
  • archive
    archive over 17 years ago

    This isn't Facebook - there's no need to tell everyone what you're currently doing ;-)

    Sorry for the cheeky comment, but you didn't actually [u]ask[/u] anything! I'm assuming you'd like some example code, or something like that? Anyway, one place to look is in the Cadence IC installation:

    /tools/dfII/samples/artist/passiveLib

    within this library, there is a "spiralInd" pcell. If you look at spiralInd/spiralInd.s.pc you'll find the SKILL code for the pcell.

    Not exactly your spec, but similar enough to borrow from, probably. Assuming that's what you wanted!

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Maybe you need code for a drc right circle on multiple of manufacturing grid for rthe solution of your problem:

    procedure( DrcCorrectDrawCircle(cv lpp centerx centery radius grid )
    let( (ccords x y lasty yend rsq list2)
    ccords='()
    x=0
    lasty=0.0
    y=radius/grid
    rsq=radius*radius/(grid*grid)
    yend=radius*sqrt(2.0)*0.5/grid
    while(y>yend
    x=floor(sqrt(rsq-(y*y)))
    ccords=cons(list(x*grid y*grid) ccords)
    y=y-1.0
    );while
    y=grid*floor(yend)
    xy45=list(y y)

    list2=append(
    reverse(ccords)
    list(xy45))
    list2=append(list2
    foreach(mapcar elem ccords list(cadr(elem) car(elem))))
    list2=append(list2
    list(0.0:0.0) )
    dbCreatePolygon(cv lpp foreach(mapcar elem list2
    list(car(elem)+centerx
    cadr(elem)+centery)))
    )
    )


    in PCell code use
    ...
    DrcCorrectDrawCircle(pcCellView list("M1" "drawing") 3.4 ...)
    ...



    Regards

    Elmar


    Originally posted in cdnusers.org by herzer
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information