• 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. Help converting skill from IC5 to IC6

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14830
  • 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

Help converting skill from IC5 to IC6

blankman
blankman over 13 years ago

Hi All,

I have some skill code below im hoping to convert from IC5 to IC6. I know many functions/commands have changed with the switchover, however I haven't had much luck myself trying to convert.

I am also seeing that the keypad keys are non functional or semi functional in IC6. Would there be a workaround for this?

Any help much appreciated, thanks!

;Changing via type
procedure(BSchangetoVia1()
let((newMaster)
        foreach(fig geGetSelSet()
                when(fig~>objType=="inst"
                        newMaster=dbOpenCellViewByType(fig~>libName "met2_met1_b" fig~>viewName)
                        fig~>master=newMaster
                        dbClose(newMaster)
                        printf("Contact type = %L\n" fig~>cellName)
                );when
        );foreach
);let
);procedure
hiSetBindKey("Layout" "Alt<key>KP_End" "BSchangetoVia1()")

;Changing via columns
procedure(BSchangeViaVertDecPathFine()
let((message x1 x2 dx labelheight point win hs Right Left Top Bottom dx1000 intdx1000 a RightNew LeftNew LowerLeft UpperRight newbBox sum crdList firstPt lastPt areap)
        foreach(fig geGetSelSet()
                when(fig~>objType=="inst"
                        prop=dbFindProp(fig "column")
                        if( prop != nil
                                then    if( fig~>column >= 3
                                                then fig~>column = fig~>column - 1
                                                else dbDeletePropByName(fig "column")
                                        )
                                else    nil
                        );if
                        printf("Colums = %L\n" fig~>column)
                );when
        );foreach
);let
);procedure
hiSetBindKey("Layout" "Shift Alt<key>KP_Subtract" "BSchangeViaVertDecPathFine()")

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Quick answer as I'm a bit short of time.

    You might find this post useful . To find existing properties on a via, you will need to look at fig~>viaHeader~>overrideParams. Note that fig~>objType will be (say) "stdVia" not "inst" any more. So to get the columns it would be cadr(assoc("cutColumns" fig~>viaHeader~>overrideParams))

    To replace the via, you'll need to do a dbCreateVia again.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Quick answer as I'm a bit short of time.

    You might find this post useful . To find existing properties on a via, you will need to look at fig~>viaHeader~>overrideParams. Note that fig~>objType will be (say) "stdVia" not "inst" any more. So to get the columns it would be cadr(assoc("cutColumns" fig~>viaHeader~>overrideParams))

    To replace the via, you'll need to do a dbCreateVia again.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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