Home > Community > Forums > Custom IC SKILL > Slotted Metal paths

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: *

 Slotted Metal paths 

Last post Fri, Nov 16 2012 2:09 PM by jaleco. 8 replies.
Started by jaleco 05 Nov 2012 07:03 PM. Topic has 8 replies and 2215 views
Page 1 of 1 (9 items)
Sort Posts:
  • Mon, Nov 5 2012 7:03 PM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Slotted Metal paths Reply
    Does anyone know of an updated version of the CCSslotMetal.il script for slotted metal paths?  This code is very old and has little flexibility for things like defining the size of the slots, width of the path, etc.
    • Post Points: 20
  • Mon, Nov 5 2012 7:24 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,587
    • Points 15,915
    Re: Slotted Metal paths Reply

    Hi,

    I am the author of CCSslotMetal.il - it already has an option for the overall path width, and the arrangement is that this is divided into three sections across the total path width such that the slot width is equal to the surrounding path segment widths.  Likewise the slot length is controlled by the length of the subrectangles which are hard-coded such that their length is twice their width - the slots are just the absence of these subrectangles.  This code was mainly written as an example to demonstrate that a call to rodCreatePath can be made interactively, initiated from an enterPath() enter function, and that this can be further controlled or influenced using the commands' Options form.  It should not be too hard for someone to see how to update the ?offsetSubPath and ?subRect arguments so that parameters can be used for the slot width and length.

    The age of the code is not really relevant, unless it stops working or is superseded by something else.  To my knowledge there are not any publicly available updates, but I'm sure that plenty folks have downloaded and then modified the code for their specific requirements.  What would you like to see instead or additionally?

    Regards,

    Lawrence.

    • Post Points: 20
  • Mon, Nov 5 2012 9:16 PM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths Reply

    Hi Lawrence,

    thanks for your reply and thank you for the script.  I agree about the age of the code.  I was hoping there might have been some update to it based on its age and the ubiquitousness of the application.

     I would like to enhance the form input to accept user defined bus widths without limitation, and to define the slots as holes with user-defined widths, lengths, and spacing (these inputs can be used to create the subrectangles alternatively).  In addition, the number of slots per width of bus would be a function of the bus width.  In effect, the slotted metal bus will maximize metal area while meeting the required slotting rules to serve slotting purposes.  Currently the slots are oversized as defined.  Ideally, it would also remain a path object with these parameters form-customizeable.....which sounds a lot like a pcell.  So, short of making a slotted metal pcell, I'm looking for an enhanced script with more flexibility vis-a-vis form input fields for its variables.

    thanks again,

    James 

     

    • Post Points: 20
  • Mon, Nov 5 2012 11:58 PM

    Re: Slotted Metal paths Reply

    James,

    IC61 has Create->Slot - so maybe this is redundant anyway. Did you try this? (Hit F3 to bring up the options form - and the Help button will take you to the relevant documentation).

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Nov 6 2012 8:01 AM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths Reply

    Hi Andrew,

    Unfortunately I am using v5.1.41...which is where the age of the CCSslotMetal.il script comes into play.  For those of us using an older version of Virtuoso, I hoped there had been an update to that code that was version compatible.  Thanks though, and sorry I did not mention the software version before.

    Best,

    James

    • Post Points: 5
  • Tue, Nov 6 2012 12:51 PM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths Reply
    Lawrence, Andrew,

    I am using the CCSslotMetal.il file as one call from a user-defined banner menu, related to this post -

    http://www.cadence.com/Community/forums/p/24050/1316397.aspx#1316397

    Whether calling the slot metal script from CIW or from the menu, it does not load the current/active entry layer, as the script describes, into the form.

    Also, if I select a different layer from the form, close the form, change my active entry layer, then call the script/form again, the previously selected layer in the form is still the one shown - not the active layer.  It behaves as if the form is hard coded to bring up the same layer on first load, then saves the layer selected each time the form is touched, but does not automatically populate with the active entry layer when called.

    As you can see on my other post (re menu link above), I am trying to build a menu of items, using an Update function to help with testing new code as I go - this SlotMetal script being one item.  I have done a simple test by changing the slotMetal formTitle, then attempting to reload the script to see the change.  So far I can't get the form updated by load("") in the CIW, or by using the Menu->Update() function.  The only thing that updates the source code and reflects in the form, is closing and restarting my Virtuoso session.

    Do you have any insight?

    Thanks,

    - James
    • Post Points: 5
  • Wed, Nov 7 2012 1:16 PM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths Reply

    For anyone else modifying the CCSslotMetal.il code, and wanting to debug easily as you modify the code, the first function tests the form's existence and brings up the form as it was last executed or modified by the user - NOT using the entry layer, or the default width value or default snap value.

    Simply comment out the first "if" statement, leaving only the line :

    form = CCScreateSlotMetalForm()

    ....prior to :

    when(hiIsForm(form)

    This will force the form to be created new with each call and you can immediately see your modifications to the form.

     

    • Post Points: 5
  • Thu, Nov 15 2012 11:22 AM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths - updated form for v5.1.41 Reply

    Does anyone know how to compare a float value to zero?

    I have completed an updated slotted metal form script with user-defined values for slot dimensions but am having some trouble testing path widths to be on grid because a test to see of they are on grid randomly fails a float test comparison to zero and snaps path widths unnecessarily.

     

    • Post Points: 5
  • Fri, Nov 16 2012 2:09 PM

    • jaleco
    • Top 100 Contributor
    • Joined on Wed, Mar 21 2012
    • Albuquerque, NM
    • Posts 74
    • Points 1,060
    Re: Slotted Metal paths - updated form for v5.1.41 Reply

    Lawrence,

    I have completed what appears to be a working update to the CCSslotmetal.il script, now accepting user input on the form for slot dimensions.  Hopefully this may come in handy for other people having to route technology-specific slotted metal in v5.1.41.

    Attaching it here as SlottedMetal.il

    I am a novice programmer...and don't really know SKILL coding...so any feedback about how to make this code more efficient would be welcome.

    Best,

    - JLC 

    • Post Points: 5
Page 1 of 1 (9 items)
Sort Posts:
Started by jaleco at 05 Nov 2012 07:03 PM. Topic has 8 replies.