• 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. How do i Change the number of rows & columns of a customVia...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 451
  • 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

How do i Change the number of rows & columns of a customVia in IC6.1.6

GirishBS181
GirishBS181 over 8 years ago

Hi all,

I am using IC6.1.6.

I am writing a code to increase & decrease the number of rows & columns of a customVia


Can someone please help me with the code.


I am able to access the number of rows & columns by using the dbid :  css()~>viaHeader~>overrideParams

1. How can I force the value of rows & columns to change to a specific number.

2. How can i change the number of rows & columns of a via by using the arrow keys up.down,right,left buttons.

                                 if i press up bindkey twice the rows should increase by 2(Similarly for the down button rows should decrease)

                                 if i press right bindkey twice the rows should increase by 2(Similarly for the left button columns should decrease)

Thanks ,

Girish

  • Cancel
  • psill000
    psill000 over 8 years ago

    I dont use the overrides. Here is what I use for stdVia and customVia. I wrote it to be portable to other scripts is why it works on one via at a time.

    Paul

    procedure(viaMod(obj xNum yNum)
    let(    (row col tmp
            (flipList '("R90" "R270" "MYR90" "MXR90"))
            )
    cond(   (member(obj~>objType '("stdVia"))
                            if(obj~>cutRows then
                                    row = obj~>cutRows
                            else    row = 1)
                            if(obj~>cutColumns then
                                    col = obj~>cutColumns
                            else    col = 1)
                            when(member(obj~>orient flipList)
                                    tmp = xNum
                                    xNum = yNum
                                    yNum = tmp)
                            obj~>cutRows    = max(row+xNum 1)
                            obj~>cutColumns = max(col+yNum 1)
                    )
                    (equal(obj~>objType "customVia")
                            if(obj~>row then
                                    row = obj~>row
                            else    row = 1)
                            if(obj~>column then
                                    col = obj~>column
                            else    col = 1)
                            when(member(obj~>orient flipList)
                                    tmp = xNum
                                    xNum = yNum
                                    yNum = tmp)
                            obj~>row        = max(row+xNum 1)
                            obj~>column     = max(col+yNum 1)
                            )
            ); end of cond
    obj
    ); end of let
    ); end of viaMod

    • Cancel
    • Vote Up 0 Vote Down
    • 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