• 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. Constraint and Modgen SKILL - resulting in incomplete m...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 1410
  • 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

Constraint and Modgen SKILL - resulting in incomplete modgen

Leo John
Leo John over 12 years ago
Hi,

I'm trying to use the code from this Cadence Solution ID: 20024536

; creating modgen group member list
d_cacheId = ciCacheGet( t_schLibName t_schCellName "layout" )
ld_instIds = d_cvLay~>instances
l_constMembers = nil
foreach( d_id ld_instIds
  if( d_id~>pin == nil then
    l_constMembers = cons( list( d_id~>name 'inst ) l_constMembers ) ) ; if
) ; foreach

; modgen constraint
d_constr = ciConCreate( d_cacheId 'modgen ?members ciExpandMembers( l_constMembers )
?params list( list( "numRows" 2 ) list( "numCols" 4 )
list("pattern" "custom ((A A A A) (B B B B)) ((R0 R90 R0 R90) (R0 MY R0 MY))") ) )

After this, I've added this line to auto-generate the modgen layout:

mgGen( d_cvLay d_constr )

The constraint and modgen are indeed getting generated, but the modgen is incomplete - It's created as two rows and four columns as mentioned in the constraint, but the pattern is not followed.

After this if I open the pattern editor manually and click apply, the modgen gets modified to the correct pattern - which means whatever constraint that is created is correct, but somehow the generated modgen group is incorrect.

Please help.

Thanks,
Leo

  • Cancel
Parents
  • skillUser
    skillUser over 12 years ago

    Hi Leo,

    I suggest that you file a ticket with Cadence Customer Support for this issue.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 12 years ago

    Hi Leo,

    I suggest that you file a ticket with Cadence Customer Support for this issue.

    Best regards,

    Lawrence.

    • 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