• 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. SKILL code issue

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 13260
  • 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

SKILL code issue

ssram
ssram over 5 years ago

Hi,

I've a script here to open the corresponding other design window in XL mode. For example, if the schematic design is opened, just calling this function would open the corresponding layout design window in XL mode and the other way as well. But somehow it doesn't have the connectivity reference (layout nets/instances/pins won't be selected if any of them are selected in the schematic and the other way around as well) until i click on any of the XL functions in the window. Can't figure out why... any help much appreciated. Following is the code:

+++++++++++++++++++++++++++++

procedure(srOpenLaySch(@optional (viewName nil) (cv geGetEditCellView()))
let((cellWin otherCv msg dbox viewType laywid)
unless(stringp(viewName)
if(cv~>viewName=="schematic" then
viewName="layout"
viewType="maskLayout"
else
viewName="schematic"
viewType="schematic"
)
)
otherCv = dbOpenCellViewByType(cv~>libName cv~>cellName viewName)
if(otherCv then
unless(geGetCellViewWindow(otherCv)
deOpenCellView(otherCv~>libName otherCv~>cellName otherCv~>viewName viewType nil "r")
) ;unless
cellWin=geGetCellViewWindow(otherCv)
if( cellWin~>cellView~>cellViewType != "maskLayout" then
laywid = geGetCellViewWindow(cv)
deInstallApp( laywid "Virtuoso XL")
else
deInstallApp( cellWin "Virtuoso XL")
)
;;
hiDeiconifyWindow(cellWin)
hiSetCurrentWindow(cellWin)
hiRaiseWindow(cellWin)
else
hiGetAttention()
sprintf(msg "**WARNING: Could not open %s %s %L\n" cv~>libName cv~>cellName viewName)
sprintf(msg "%s Would you like to create this view?\n" msg)
dbox=hiDisplayAppDBox(?name 'dBox ?buttonLayout 'YesNo ?dboxText msg ?dboxBanner "Create this view?")
if(dbox then
printf("Creating: %s %s %L\n" cv~>libName cv~>cellName viewName)
if(otherCv = dbOpenCellViewByType(cv~>libName cv~>cellName viewName viewType "a") then
deOpenCellView(otherCv~>libName otherCv~>cellName otherCv~>viewName viewType nil "a")
else
hiGetAttention()
printf("**ERROR: Could not create %s %s %L\n" cv~>libName cv~>cellName viewName)
)
else
printf("Cell view %s %s %L does not exist and was not created\n" cv~>libName cv~>cellName viewName)
)
)
otherCv
) ;let
) ;proc

hiSetBindKey("Layout" "CtrlSuper<key>`" "srOpenLaySch()")
hiSetBindKey("Schematics" "CtrlSuper<key>`" "srOpenLaySch()")

+++++++++++++++++++++++++++++

Thanks

Ram

  • 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