• 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 Design
  3. Creating layout window when clicked on the custom menu in...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 6620
  • 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

Creating layout window when clicked on the custom menu in schematic

SureshT
SureshT over 2 years ago

Hello all, 

I want to create a new layout window when in clicked on the menu that i have created and inserted in schematic window, Please help me to do this.

I have searched on creating a layout window but i am not finding any thread on this. I am using Cadence Virtuoso Version IC6.1.7 currently.

Thank you. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Use the geOpen() function with ?lib, ?cell, ?view and ?mode arguments specified. Probably ?viewType "maskLayout" too (depends on whether the layout view exists already or not as to whether that's required or optional).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SureshT
    SureshT over 2 years ago

    Thank you so much for reply

    When I use geOpen() function it will only open when it is exists before I want to create when i don't have layout view created before.

    geOpen( ?window hiGetCurrentWindow( ) ?lib "mylib"
    ?cell "mycell" ?view "layout" ?viewType "maskLayout" ?mode "a" )

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to SureshT

    You could use ?mode "w" for that. Or use dbOpenCellVewByType() in mode "a" before calling the geOpen in mode a - for example:

    let((cv)
      cv=dbOpenCellViewByType("mylib" "mycell" "layout" "maskLayout" "a")
      geOpen( ?window hiGetCurrentWindow( ) ?lib "mylib"
        ?cell "mycell" ?view "layout" ?viewType "maskLayout" ?mode "a" )
      dbClose(cv)
    )

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SureshT
    SureshT over 2 years ago

    let((cv)
      cv=dbOpenCellViewByType("mylib" "mycell" "layout" "maskLayout" "a")
      geOpen( ?window hiGetCurrentWindow( ) ?lib "mylib"
        ?cell "mycell" ?view "layout" ?viewType "maskLayout" ?mode "a" )
      dbClose(cv)
    )

    The schematic my cell is getting open open repeatedly. And layout view is not getting created. 

    And geOpen() function i have 'a  'r mode to open cellview for edit and read respectively

    Thank You  

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to SureshT

    I can't see any reason why opening a new layout window this way would open a schematic repeatedly (there's a possibility that if it was an existing layout view set to open in VLS XL, it might open the corresponding schematic, but it's not clear that's the case here).

    Without seeing your actual code, guessing what you're doing is nigh on impossible.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SureshT
    SureshT over 2 years ago

    The code is same as you have share before

    let((cv)
      cv=dbOpenCellViewByType("SKILL_PROGRAMMING_PRACTICE"  "Inverter" "layout" "maskLayout" "a")
      geOpen( ?window hiGetCurrentWindow( ) ?lib "SKILL_PROGRAMMING_PRACTICE"
        ?cell "Inverter" ?view "layout" ?viewType "maskLayout" ?mode "a" )
      dbClose(cv)
    )

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SureshT
    SureshT over 2 years ago in reply to SureshT

    I am not getting why the schematic window is getting open continuously. Please help  me out.

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to SureshT
    SureshT said:
    I am not getting why the schematic window is getting open continuously. Please help  me out.

    If that's the only code you have, then it really can't possibly cause the schematic window to be continuously opened (I'm not really sure what you mean by that; I can image there's a case where a single schematic window is open if the layout is set to open in Virtuoso Layout Suite XL, but it shouldn't open more than one schematic). Is the layout opening in VLS XL? After all, the code is only opening a single layout window...

    My guess is that you have some other code which is causing a schematic to be opened, but without more details it's not really possible to help.

    It would probably make more sense to contact customer support (submit a case after logging in) so that one of the application engineering team can take a look at this together with you.

    Andrew

    • 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