Getting Layer Purpose Pair Information

In some cases the Cadence Interface of xgdsplot will not be able to stream out a file from Cadence Virtuoso because the layer is not fully defined in the Cadence Technology file. To find out the offending layer, user can run the following code in the Cadence window.


(setq cv (geGetWindowCellView))
(setq lpps cv~>layerPurposePairs)
(foreach lpp lpps
  (setq lay lpp~>layerName)
  (setq pur lpp~>purpose)
  (if (leIsLayerVisible (list lay pur)) then
    (printf "%s %s is visible\n" lay pur)
  else
    (printf "%s %s is NOT visible\n" lay pur)
  )
)