Home > Community > Forums > Custom IC Design > Assura DRC: How to Define derived layers

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

 Assura DRC: How to Define derived layers 

Last post Wed, Apr 22 2009 5:09 AM by stuso. 5 replies.
Started by stuso 30 Jan 2009 02:55 AM. Topic has 5 replies and 2951 views
Page 1 of 1 (6 items)
Sort Posts:
  • Fri, Jan 30 2009 2:55 AM

    • stuso
    • Top 75 Contributor
    • Joined on Mon, Nov 3 2008
    • Posts 77
    • Points 1,315
    Assura DRC: How to Define derived layers Reply

    Hi there,

    I'm wondering how you define your own variables/derived layers, e.g when i'm using this
    command:

        newVia2_a = geomSize( VIA2 0.07 )

    However Assura doesn't seem to like that i have not deifined "newVia2_a".

    Can someone tell me the syntax to do this, i'm assuming it has to go in the  layerDefs section somehow.

    Thanks

    Stu

    • Post Points: 20
  • Fri, Jan 30 2009 10:18 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,535
    • Points 14,940
    Re: Assura DRC: How to Define derived layers Reply

    Hi Stu,

    I don't work with Assura myself, but a few of my colleagues have stated that there does not appear to be any issue with the line of code as it is, but:

    1) Ensure that the statement is in the Rules section, not in the layerDefs section

    2) Ensure that the preceeding statement(s) do not have any errors

     

    One of my colleagues supplied the following sample rules file:

    drcExtractRules(

    layerDefs( "df2"
    VIA2 = layer( "VIA2" )
    );end df2 layerDefs section

    layerDefs( "gds2"
    VIA2 = layer( 14 )
    );end gds2 layerDefs section

    newVia2_a = geomSize( VIA2 0.07 )
    errorLayer( newVia2_a "Enlarged VIA2" )

    );end drcExtractRules

    This compiles correctly.

    I hope that the above information helps you, if not, you may need to send us your rules file for further assistance.

    Regards,

    Lawrence.

    Filed under:
    • Post Points: 20
  • Wed, Feb 4 2009 9:28 AM

    • stuso
    • Top 75 Contributor
    • Joined on Mon, Nov 3 2008
    • Posts 77
    • Points 1,315
    Re: Assura DRC: How to Define derived layers Reply

    Hi Lawrence, it was indeed an error in a preceeding statement, thanks for your help.

    Cheers

    Stu 

     

     

    • Post Points: 5
  • Mon, Apr 20 2009 2:47 AM

    • stuso
    • Top 75 Contributor
    • Joined on Mon, Nov 3 2008
    • Posts 77
    • Points 1,315
    Re: Assura DRC: How to Define derived layers Reply

    Hi Lawrence, 

    can you(or anyone out there) please ask the Assura guys if you cannot perform geomAnd on derived layers, so for example this would not work:

     drcExtractRules(

    layerDefs( "df2"

          OD          = layer( "OD" )

    ); end df2 layerDefs

        OD_1         = geomSize( OD 0.005 )
        OD_2        = geomAnd( OD_1 )
        saveDerived( OD_2 "TESTING OD_2 ")

    )

    This fails with:

     error:  No such original or unmerged layer 'OD_1'.

    When  i change the geomAnd to geomOr the code compiles (though of course its not what i want functionally).

    I read in the assura manual regarding geomAnd:

    " Description
    Generates new shapes from the overlap of original shapes on the input layers."

    So this perhaps infers that you indeed cannot geomAnd derived shapes?

    Cheers

    Stu

     

     

     

     

     

     

     

    • Post Points: 20
  • Mon, Apr 20 2009 2:47 PM

    Re: Assura DRC: How to Define derived layers Reply

    Stu,

    You can of course use geomAnd on derived layers, but in this case you are trying to use geomAnd with a single layer - normally it would be done geomAnd(layer1 layer2) for example.

    If you want to use the single-layer form of geomAnd, that means you're trying to do a selfLayer and - to quote the geomAnd documentation it says:

    A selfAnd operation is performed by providing a single unmerged layer as input. An unmerged polygon layer is either an original graphics layer or the unmerged output of a geomSize command (see "geomSize").

    A self-and means that it will and the shapes with shapes from the same layer - that only makes sense if the data is unmerged, because otherwise you'll always get nothing.

    So what you'd do so:

        OD_1         = geomSize( OD 0.005 unmerged )
        OD_2        = geomAnd( OD_1 )
        saveDerived( OD_2 "TESTING OD_2 ")

    Note the "unmerged" keyword in the geomSize function. If you do this, it will find any gaps less than 0.01 wide between OD and other OD, or any self-overlapping bits of OD. Whether that is what you really want, I don't know...

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Apr 22 2009 5:09 AM

    • stuso
    • Top 75 Contributor
    • Joined on Mon, Nov 3 2008
    • Posts 77
    • Points 1,315
    Re: Assura DRC: How to Define derived layers Reply

    Hi Andrew, thanks for the indepth reply, it was very useful.

    Stuart

     

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by stuso at 30 Jan 2009 02:55 AM. Topic has 5 replies.