• 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. Generate a Instances from different library from schematic...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 15156
  • 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

Generate a Instances from different library from schematic view in Layout XL

Mahesh gunde 1
Mahesh gunde 1 over 5 years ago

Hi all,

I was helpless to find the solution using skill or LayoutXL.

I have 2 library's

Eg:    Lib1 :Sch_design(only schematic views)

          Lib2: Lay_design(only layout views)

In  one schematic having lot of hirarchy's referring from Sch_design, I cannot get the layout views from Lay_design using Generate all from source option in LayoutXL.

Its generating as Pcells Instead of corresponding layout cell view from Lay_design library, due to lot of Instances in schematic from Sch_design. Generating and placing devices manually are horrible.

anyone help on this?

Thanks in Advance.

Thanks,

Mahesh

  • Cancel
Parents
  • ebecheto
    ebecheto over 5 years ago

    Here i a little example,

    Given as is, not sure its what you need

    ; open a schematic view, example of generateAllFromSource layout-XL equiv function
    cv=geGetWindowCellView()
    ccv=dbOpenCellViewByType(cv~>libName cv~>cellName "layout" "maskLayout" "a");<== new layout
    foreach(mapcar inst cv~>instances
    lib=inst~>libName;=> "PRIMLIB" ;<== example
    cell=inst~>cellName;=> "nmos4" ;<== example
    lay="layout"
    layLib="Lay_design"
    ;lib=layLib   ;<== uncomment this one for your library
    if( layinst=(dbOpenCellViewByType lib cell lay);=> db:0x14895d9a 
    then
    props=inst~>prop;=> (db:0x148970ca ... db:0x148970cb)
    params=foreach(mapcar prop inst~>prop list(prop~>name prop~>valueType prop~>value))
    insted=dbCreateParamInst(ccv layinst nil inst~>xy inst~>orient 1 params);<= identical to  dbCreateInst if no parameters props=nil
    ))
    
    printf("Opening %s\n" ccv~>cellName) geOpen( ?lib ccv~>libName ?cell ccv~>cellName  ?view ccv~>viewName ) ;; <== check results
    

    Normally, you just have to uncomment the line :

    ;lib=layLib 

    For your needs

    Hope it helps,

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ebecheto
    ebecheto over 5 years ago

    Here i a little example,

    Given as is, not sure its what you need

    ; open a schematic view, example of generateAllFromSource layout-XL equiv function
    cv=geGetWindowCellView()
    ccv=dbOpenCellViewByType(cv~>libName cv~>cellName "layout" "maskLayout" "a");<== new layout
    foreach(mapcar inst cv~>instances
    lib=inst~>libName;=> "PRIMLIB" ;<== example
    cell=inst~>cellName;=> "nmos4" ;<== example
    lay="layout"
    layLib="Lay_design"
    ;lib=layLib   ;<== uncomment this one for your library
    if( layinst=(dbOpenCellViewByType lib cell lay);=> db:0x14895d9a 
    then
    props=inst~>prop;=> (db:0x148970ca ... db:0x148970cb)
    params=foreach(mapcar prop inst~>prop list(prop~>name prop~>valueType prop~>value))
    insted=dbCreateParamInst(ccv layinst nil inst~>xy inst~>orient 1 params);<= identical to  dbCreateInst if no parameters props=nil
    ))
    
    printf("Opening %s\n" ccv~>cellName) geOpen( ?lib ccv~>libName ?cell ccv~>cellName  ?view ccv~>viewName ) ;; <== check results
    

    Normally, you just have to uncomment the line :

    ;lib=layLib 

    For your needs

    Hope it helps,

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to ebecheto

    Rather than writing SKILL code, this can be done with Virtuoso Layout Suite XL as a standard feature.

    In VLS XL, use Launch->Configure Physical Hierarchy, and then add the other library to the Physical Library List and then hit the update button (might want to save the physConfig too). Then in VLS XL when you do a gen from source, it will pick up the cells from the physical library:

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mahesh gunde 1
    Mahesh gunde 1 over 5 years ago in reply to Andrew Beckett

    Hi Andrew &ebecheto,

    Thank you soo much for your help and comments.

    VLS XL option is working good.

    Thanks,

    Mahesh

    • 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