• 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 on create VIA in 6.1.4 version

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 144
  • Views 14095
  • 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 on create VIA in 6.1.4 version

Sarvani
Sarvani over 12 years ago

Hi all,

I am able to create contact in IC5141 version using leCreateContact command.  But this is not works in 614 version. Please let me know create a VIA in layout in 614 version.

Thank you,

Sarvani

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

    Yes, it's because you're passing a quoted list to the function. The quote operator means that the list is taken literally, with no evaluation. So the n in the list is passed as n not 6. Obviously it's not expecting the symbol n there, so it fails.

    Another thing - you don't really need to assign the value to a variable (the viaParams= bit) unless you're going to use it later - but maybe that was done for a good reason.

    Anyway, what you need is either:

    dbCreateVia(pcCellView viaid 0:-1 "R0" 
    viaParams=list(list("cutRows" n) 
    '("cutColumns" 1) 
    '("cutSpacing" (0.1 0.1)) ; space via
    '("imp1Enc" (26.07 26.07)) ;PP 
    '("imp2Enc" (0.07 0.07)) ;PDK layer 
    '("layer1Enc" (0.02 0.02)) 
    '("layer2Enc" (0 0.03))
    ))

    or:

    dbCreateVia(pcCellView viaid 0:-1 "R0" 
    viaParams=`(("cutRows" ,n) 
    ("cutColumns" 1) 
    ("cutSpacing" (0.1 0.1)) ; space via
    ("imp1Enc" (26.07 26.07)) ;PP 
    ("imp2Enc" (0.07 0.07)) ;PDK layer 
    ("layer1Enc" (0.02 0.02)) 
    ("layer2Enc" (0 0.03))
    ))

    This second form is a neat feature of SKILL - a special kind of quoted list. If you use the backquote instead of the normal single quote, then the list is taken literally except where a subexpression is preceded by a comma. Those preceded by commas get evaluated. It's actually a macro that expands into lists of lists etc, but it's a lot more succinct to type!

    If you look at viaParams after calling this, you'd see the value 6 where the ,n was. Note there's also another form that can be used inside a backquoted list - ,@ - but I'm not going to cover that here since you don't need it (this is for splicing in lists).

    Regards,

    Andrew.

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

    Yes, it's because you're passing a quoted list to the function. The quote operator means that the list is taken literally, with no evaluation. So the n in the list is passed as n not 6. Obviously it's not expecting the symbol n there, so it fails.

    Another thing - you don't really need to assign the value to a variable (the viaParams= bit) unless you're going to use it later - but maybe that was done for a good reason.

    Anyway, what you need is either:

    dbCreateVia(pcCellView viaid 0:-1 "R0" 
    viaParams=list(list("cutRows" n) 
    '("cutColumns" 1) 
    '("cutSpacing" (0.1 0.1)) ; space via
    '("imp1Enc" (26.07 26.07)) ;PP 
    '("imp2Enc" (0.07 0.07)) ;PDK layer 
    '("layer1Enc" (0.02 0.02)) 
    '("layer2Enc" (0 0.03))
    ))

    or:

    dbCreateVia(pcCellView viaid 0:-1 "R0" 
    viaParams=`(("cutRows" ,n) 
    ("cutColumns" 1) 
    ("cutSpacing" (0.1 0.1)) ; space via
    ("imp1Enc" (26.07 26.07)) ;PP 
    ("imp2Enc" (0.07 0.07)) ;PDK layer 
    ("layer1Enc" (0.02 0.02)) 
    ("layer2Enc" (0 0.03))
    ))

    This second form is a neat feature of SKILL - a special kind of quoted list. If you use the backquote instead of the normal single quote, then the list is taken literally except where a subexpression is preceded by a comma. Those preceded by commas get evaluated. It's actually a macro that expands into lists of lists etc, but it's a lot more succinct to type!

    If you look at viaParams after calling this, you'd see the value 6 where the ,n was. Note there's also another form that can be used inside a backquoted list - ,@ - but I'm not going to cover that here since you don't need it (this is for splicing in lists).

    Regards,

    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