• 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. Getting a Blunder while using dbFlattenInst()

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 142
  • Views 6444
  • 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

Getting a Blunder while using dbFlattenInst()

Tejaskill
Tejaskill over 2 years ago

Hi all,

I am using dbFlattenInst() function to flatten a cellview but after I have executed the code I am getting LVL errors with my previous version(hierarchy database).
I dont Know why it is doing like this, Is there anything I should check about the dbFlattenInst() or the layout options.

My code is

cv=geGetEditCellView()
foreach(inst cv~>instances dbFlattenInst(inst 32 t nil nil nil t nil t))

Thanks in advance,
Teja.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Teja,

    By "LVL" do you mean XOR? What kinds of errors are you seeing? This is rather hard to explain without any kind of details...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tejaskill
    Tejaskill over 2 years ago in reply to Andrew Beckett

    Hi Andrew,

    Yes I mean XOR I am getting METAL1 VIA1 and METAL2 geometric difference.

    Teja.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Tejaskill
    Tejaskill said:
    Yes I mean XOR I am getting METAL1 VIA1 and METAL2 geometric difference.

    A picture would help. It's rather hard to guess what's wrong with just a description.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tejaskill
    Tejaskill over 2 years ago in reply to Andrew Beckett

    Hi Andrew

    I have a layout view and I saved a copy as layout_x view and executed the code for layout_x view 
    Then I have completed the XOR run between layout view and layout_x view using assura >> here is the resiult of geometric difference

    Teja.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Tejaskill

    Teja,

    I'm not sure whether you're being intentionally evasive here, but a picture which just shows a screenshot of the Assura output is not any more helpful than the text you included before (it just says the same thing in a screenshot!). A picture of the layout would be rather more informative highlighting the actual differences. 

    My guess was that this might be some gridding problem - something which was off-grid being snapped during the flatten. I'd wondered whether if the centre of a via was off-grid, and the width of the cut was an exact database unit  that this could happen, but I've not managed to reproduce that (I didn't spend too long trying because I'm just guessing and I'd sooner not waste time on guesswork).

    Which IC sub-version are you using? Which technology (PDK) are you using?

    Andrew

    • 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