• 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 Design
  3. Assura (ASSURA41USR1HF8_CDB) geomXor to same layer not allowed...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 126
  • Views 14416
  • 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

Assura (ASSURA41USR1HF8_CDB) geomXor to same layer not allowed?

stuso
stuso over 14 years ago

Hi all, i want to quickly overlap 2 cells which are the slightly different then run a simple geomXor assuraDRC to see where any layout differences exist. In Diva i would simply use:

saveDerived( geomXor(list( "m1" "drawing" ) ) "m1 dg mismatch")

However doing something similar in Assura i get:

ERROR  Single polygonal layer geomXor is not supported in this version (ASSURA41USR1HF8_CDB ).

Any other commands i could use to do an XOR to same layer?

Cheers

Stu

 

 

 

 

 

 

  • Cancel
  • Quek
    Quek over 14 years ago

    Hi Stu

    Actually you can generate the xor rules file using the DRC form very easily. You can also try the following rules file:

    drcExtractRules(
       layerDefs("df2"
          m1_A=layer("m1" "drawing")
       ) ;layerDefs

       layerDefs2("df2"
          m1_B=layer("m1" "drawing")
       ) ;layerDefs2

       m1_diff=geomXor(m1_A m1_B)
       errorLayer(m1_diff "m1 dg mismatch")
    ) ;drcExtractRules

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • stuso
    stuso over 14 years ago

    Hi Quek, yes i had wondered about assigning each layer to 2 new variable names and then doing XOR, so will give it a try. Thanks for your help.

    cheers

    Stu

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • stuso
    stuso over 14 years ago

    Hi Quek, i tried the code below and i still get the "single layer" warning 

    ERROR (AVRC-10324): Illegal input layer '(list OD OD_b)' found in geomXor().
    ERROR  Single polygonal layer geomXor is not supported in this version.
         5. saveDerived(geomXor(list(OD OD_b)) "OD mismatch")

    ----------------------------------------------------------------------------------------------------------------

     My code:

    drcExtractRules( 


    layerDefs( "df2"
          OD              = layer( "OD" type("drawing") )
        )
    layerDefs( "df2"
          OD_b          = layer( "OD" type("drawing") )
        )

    saveDerived( geomXor(list( OD OD_b ) ) "OD mismatch")


    ); end of Assura procedure

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Stu,

    The second layerDefs needs to be a layerDefs2 - to reflect that it's for the second database... that's probably it (I didn't try this - just reading through what you'd written).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • stuso
    stuso over 14 years ago

    Hi guys, i amended my second layerDefs to layerDefs2 but now i get this:

    ERROR two data base readin ?inputLayout2 must be specified in the rsf.

    I guess RSF is runset file, i'll have a search on source link.

    thanks

    Stu

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Stu,

    RSF is the "Run Specific File" which is where you tell it where the input databases come from, any run-specific options, and so on.

    If you use:

    cdnshelp -hierarchy $ASSURAHOME/doc

    you can then search for layerDefs2 and it will have various links, including one called "Input Settings for Comparing Two Layouts".

    You can get some examples by looking at the "*.rsf" files in your Assura run directory, and add the additional options as in the docs. Or you could just reference the second layout in this file, run DRC from the UI as normal, but specify the second RSF file via the RSF include on the UI.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 14 years ago

    Hi Stu

    You can also try this:

    avParameters(
       ?inputLayer ( "df2" "yourLibName" )
       ?cellName "cell1"
       ?viewName "layout"
       ?inputLayout2 ("df2" "yourLibName" )
       ?cellName2 "cell2"
       ?viewName "layout"
       ?workingDirectory "./LVL"
       ?rulesFile "xor.rul"
       ?avrpt t
    ) ;avParameters

    Save the above lines as "xor.rsf" in your working directory and run it using:
    terminal>assura xor.rsf

    The results will be in the directory "LVL".

    (Please note the "2" for the 2nd set of inputs)

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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