Home > Community > Forums > Custom IC SKILL > Constraint and Modgen SKILL - resulting in incomplete modgen

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Constraint and Modgen SKILL - resulting in incomplete modgen 

Last post Thu, May 16 2013 11:15 AM by skillUser. 1 replies.
Started by Leo John 07 May 2013 12:14 PM. Topic has 1 replies and 739 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, May 7 2013 12:14 PM

    • Leo John
    • Not Ranked
    • Joined on Mon, Jun 25 2012
    • Bangalore, Karnataka
    • Posts 6
    • Points 190
    Constraint and Modgen SKILL - resulting in incomplete modgen Reply
    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

    Filed under: ,
    • Post Points: 20
  • Thu, May 16 2013 11:15 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,587
    • Points 15,915
    Re: Constraint and Modgen SKILL - resulting in incomplete modgen Reply

    Hi Leo,

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

    Best regards,

    Lawrence.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Leo John at 07 May 2013 12:14 PM. Topic has 1 replies.