Delta-X and Delta-Y in InstanceForm

Discussion in 'Cadence' started by venki.balla, Jun 9, 2009.

  1. venki.balla

    venki.balla Guest

    Hi All,
    I am trying to write a skill code for an instance with
    desired libName, CellName, Viewname,rows, columns, Delta-X and Delta-
    Y. I have wrote like this,
    procedure( desiredinst()
    envSetVal("layout" "instLibName" 'string "Standard")
    envSetVal("layout" "instCellName" 'string "AND")
    envSetVal("layout" "instViewName" 'string "layout")
    envSetVal("layout" "instRows" 'int 1)
    envSetVal("layout" "instColumns" 'int 3)
    envSetVal("layout" "instDelX" 'float 3.0)
    envSetVal("layout" "instDelY" 'float 6.3)
    leHiCreateInst()
    );procedure

    hiSetBindKey("Layout" "Alt<Key>i" "desiredinst()")

    With the above procedure , I am getting the instance Form
    fields with desired libName, CellName, View Name, Rows, Columns
    only. But "instDelX "(Delta X) "instDelY" (Delta Y) values are not
    with desired values and having with default values.
    1) How can i change the Delta-X and Delta-Y fields in
    instanceForm using skill code.
    2) Why the above "instDelX" and "instDelY" variables are not
    reflecting in InstanceForm Field.

    Help me Please,
    Thank You.
     
    venki.balla, Jun 9, 2009
    #1
  2. Which version are you using? It seems to be working for me...
    Ah, that may be because Standard/AND/layout doesn't exist. Otherwise I think it
    gets auto-populated by the width and height of the cell.

    Andrew.
     
    Andrew Beckett, Jun 23, 2009
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.