• 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. Number of instaces in schematic.

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 5910
  • 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

Number of instaces in schematic.

Serjik
Serjik over 8 years ago

Hi all.

I've got a cell, which consists of many cells (some of them are repeated). For example there are 10 instA and 15 instB (they are all separate cells). How can I delete a certain number of empty cells, for example 4 instA and 3 instB.

Regards,

Sergey.

  • Cancel
  • skillUser
    skillUser over 8 years ago
    Hi Sergey,

    Your question does not really contain enough information to even start an answer. What type of cell, layout or schematic for instance? What do you mean by an empty cell, and if a cell was 'empty' (e.g. the cell that was used for instA) wouldn't all instances be the same (i.e. all 10 of instA not just 4). There are too many questions about your question to offer any suggestions, please clarify.

    Regards,
    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Serjik
    Serjik over 8 years ago

    Hi, Lawrence.

    I'm talking about schematic. The cells are not empty, they are separate. For example, 10 the same pmos transistors and 15 the same nmos transistors. After that I read from the file information about how many cells of what type I need to delete (how to read from the file is clearly). The question is how to delete a certain number of identical cells.

    Regards,

    Sergey.

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

    Sergey,

    It's a strange (and confusing) request, but I'm guessing something like (the variables theLibName and theCellName are to indicate what it is you're trying to delete). cv is the cellView id you're working on.

    instHeader=car(exists(instH cv~>instHeaders instH~>libName==theLibName && instH~>cellName==theCellName))
    numToDelete=4
    instances=instHeader~>instances
    while(numToDelete>0 && instances
      numToDelete--
      dbDeleteObject(car(instances))
      instances=cdr(instances)
    )

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Serjik
    Serjik over 8 years ago
    Thanks Andrew, that's exactly what I need.

    Regards,

    Sergey.
    • 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