• 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. update "cutSpacing" of a via

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 2650
  • 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

update "cutSpacing" of a via

chianga
chianga over 12 years ago

Hi guys,

Long time lurker, first time poster.  I first want to thank Andrew, Lawrence and other regulars for contributing to this forum.

 I have a simple problem that I can't seem to figure out and I am hoping you guys can point me to the right direction.  I am trying to update the "cutSpacing" of a via using the following code, where cutSpacing= x_width:y_width and I got the error below

*Error* dbReplacePropList: Invalid float - (0.09 0.09)

I figured I am not setting the type of "cutSpacing" correctly but I can't figure what it should be. 

  dbReplacePropList(fig

               list(

   list("cutSpacing" 'float cutSpacing)

                   list("cutColumns" 'int numCols)

                   list("cutRows" 'int numRows)

   )

) 

Thanks in advance,

Andy

PS I am using IC6.1.5-64b.500.12 

  • Cancel
Parents
  • Yanhong
    Yanhong over 11 years ago

     Hi there,

    I am very new to this community. I am trying to implement creating via automatically using skill code. Thanks for all the information that you provided. I was able to place the via wher I want using skill code. However, in terms of the VIA params, I would like to create a via with the same parameters as what "auto" option provided on the "Via form". The auto via will cover all overlap area and extend over a little bit. Also, it won't violate the DRC rule, etc. I tried to use lxComputeViaParams for the viaDef that from tech file, but it didn't give much info. Is there any SKILL function to do that? 

    Thanks,

    Yanhong

                tf=techGetTechFile(cv)
                viaDef=techFindViaDefByName(tf viaDefName)
                via_center_point_x=(car(viabox_ll)+car(viabox_ur))/2
                via_center_point_y=(cadr(viabox_ll)+cadr(viabox_ur))/2
                via_center_point=list(via_center_point_x via_center_point_y)

                viaParams=list(list("cutRows" evalstring(cutRows)) list("cutColumns"     evalstring(cutColumns)) )

                ;viaParams=append(viaParams lxComputeViaParams(viaId cv viaParams))
                existing_via=setof(z dbGetTrueOverlaps(cv list(viabox_ll viabox_ur)) rexMatchp("Via" z~>objType)==t)
                if(existing_via
                  then
                  printf("There is an existing VIA. No Via will be created.\n")
                else
                  if(viaDef
                    via0=dbCreateVia(cv viaDef via_center_point "R90" viaParams)

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Yanhong
    Yanhong over 11 years ago

     Hi there,

    I am very new to this community. I am trying to implement creating via automatically using skill code. Thanks for all the information that you provided. I was able to place the via wher I want using skill code. However, in terms of the VIA params, I would like to create a via with the same parameters as what "auto" option provided on the "Via form". The auto via will cover all overlap area and extend over a little bit. Also, it won't violate the DRC rule, etc. I tried to use lxComputeViaParams for the viaDef that from tech file, but it didn't give much info. Is there any SKILL function to do that? 

    Thanks,

    Yanhong

                tf=techGetTechFile(cv)
                viaDef=techFindViaDefByName(tf viaDefName)
                via_center_point_x=(car(viabox_ll)+car(viabox_ur))/2
                via_center_point_y=(cadr(viabox_ll)+cadr(viabox_ur))/2
                via_center_point=list(via_center_point_x via_center_point_y)

                viaParams=list(list("cutRows" evalstring(cutRows)) list("cutColumns"     evalstring(cutColumns)) )

                ;viaParams=append(viaParams lxComputeViaParams(viaId cv viaParams))
                existing_via=setof(z dbGetTrueOverlaps(cv list(viabox_ll viabox_ur)) rexMatchp("Via" z~>objType)==t)
                if(existing_via
                  then
                  printf("There is an existing VIA. No Via will be created.\n")
                else
                  if(viaDef
                    via0=dbCreateVia(cv viaDef via_center_point "R90" viaParams)

     

    • 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