Home > Community > Forums > Custom IC SKILL > Annotating DC Op Points, etc

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Annotating DC Op Points, etc 

Last post Wed, Sep 6 2006 1:47 PM by archive. 1 replies.
Started by archive 06 Sep 2006 01:47 PM. Topic has 1 replies and 1581 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Sep 6 2006 1:47 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Annotating DC Op Points, etc Reply

    I would like to create bindkeys for "DC Operating Points" and "Design Defaults" to easily toggle between the displaying DC Node Voltages and Operating points, and the design defaults for devices.

    Unfortunately, when I select "Results -> Annotate -> Design Defaults", etc... the ICFB window isn't showing the functions being called.

    Can anyone comment on what I what the necessary procedure names are that I need to call?

    No need to comment on how to bind to bindkeys, etc.



    Originally posted in cdnusers.org by rruss
    • Post Points: 0
  • Thu, Sep 7 2006 12:58 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Annotating DC Op Points, etc Reply

    Hello,

    I encountered a similar situation. My problem was to toggle the schematic node information.
    First a comment about the ICFB window. Do you know that you can show more log results
    in the ICFB window? But even if you know for example the "hiiSetCurrentForm('hiSomeFormName)"
    command, and the following commands, repeating them from some function did not
    gave me the same result. What I found out is that ICFB behaves differently if commands
    are clicked by you or if they are runned from within a function. But when using the load("someFile")
    function, it behaves as if you clicked the forms. So what I did, was to save the desired commands to
    a file, and load them to 'replay' the form actions. To finish, here is my toggle node info function.
    I think you will be able to reuse it yourself.

    procedure( wrSchematicNode( @optional value)

    let( ( instance wrError)

    cv = geGetEditCellView( )
    wrError = nil
    unless( cv->mode != "r"
    wrWindowName( strcat( wrDecodeBindKeysText ": wrSchematicNode: error: cell must be editable"))
    wrError = t
    )

    ;; xxx 060516 the cell must be editable. Or a copy of the device must be openend in a
    ;; dummy view which is editable. It is not that exactly this cell must be editable.

    unless( wrError

    unless( boundp( 'wrSchematicNodeValueN)
    wrSchematicNodeValueN = 0
    )

    if( ! null( value)
    then
    wrSchematicNodeValue = value
    else
    ;; 060907 Add "pin name" "net name" "voltage" "current" if you like. Increase the
    ;; number (now 3) for the modulo operation.
    wrSchematicNodeValueList = list( "none" "pin name" "net name")
    wrSchematicNodeValueN = modulo( wrSchematicNodeValueN 3)+1
    wrSchematicNodeValue = nthelem( wrSchematicNodeValueN wrSchematicNodeValueList )
    )
    wrWindowName( strcat( wrDecodeBindKeysText ": wrSchematicNode: toggle terminal names: " wrSchematicNodeValue))
    wrShFile = outfile(".wrCadenceFile")
    fprintf( wrShFile "
    \n ;; A device must be selected. If not, select a device.
    \n instance = car( geGetSelectedSet( ))
    \n if( null( instance)
    \n then
    \n instance = car( setof( shape cv->instances shape~>libName == wrDeviceLibName))
    \n )
    \n asaEditCompDisplay( )
    \n hiiSetCurrentForm('_ahiiUniqueSymbolformannotateForm0)
    \n _ahiiUniqueSymbolformannotateForm0->labelInfo->terminal->value = t
    \n geSelectObject( instance)
    \n _ahiiUniqueSymbolformannotateForm0->tdisplay->value = wrSchematicNodeValue
    \n hiFormDone(_ahiiUniqueSymbolformannotateForm0)")
    close( wrShFile)
    load( ".wrCadenceFile")
    hiRedraw( )
    )
    )
    )

    A few extra remarks:
    This function is copied from my Cadence customization file. You can find it at
    http://relyveld.wordpress.com/cadence-page/
    wrDeviceLibName is the name of the attached technology file name.
    wrWindowName is a function (part of my wrAltEdit.il file) which prints
    status information in the editor window.


    Originally posted in cdnusers.org by relyveld
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 06 Sep 2006 01:47 PM. Topic has 1 replies.