• 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. check spacing between nets with Diva DRC - Net tracing with...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 1470
  • 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

check spacing between nets with Diva DRC - Net tracing with Diva - Need inputs

Naveen Premkumar
Naveen Premkumar over 7 years ago

Hi,

I am writing a diva drc deck to check for space between two nets (not shapes) A net can have a bunch of shapes that are connected.

I tried the below way to do this,

- trace the nets Net1_name and Net2_name.

- compare drc() between them

drcExtractRules(

m1 = geomOr("M1")

via1=geomOr(via1)

...

... upto top metal

;connect all shapes

geomConnect(

label( ("m1" "label") m1)

via(via1 m1 m2)

label( ("m2" "label") m2)

via(via2 m2 m3)

... up to top metal

)

;get the shapes that belong to the required net

netm1 = geomGetNet(m1 "Net1_Name")

netm2 = geomGetNet(m2 "Net2_Name")

.... upto top metal

fullNet1 = geomOr(netm1 metm2 ...)

netm1 = geomGetNet(m1 "Net2_Name")

netm2 = geomGetNet(m2 "Net2_Name")

.... upto top metal

fullNet2 = geomOr(netm1 metm2 ...)

;compare drc between them

saveDerived(drc(fullNet1 fullNet2 0<sep<10) "DRC error")

)

Problem with this approach is that it takes way too long to run for a big cell even though the nets I am looking for a very small. I found that the connect statement is the one that seems to take a lot of time as it tries to connect the whole layout which is not necessary.

Any suggestions on how to do this in an efficient way.

Thanks,

Naveen

  • Cancel
  • Naveen Premkumar
    Naveen Premkumar over 7 years ago

    Hi,

    I am writing a diva drc deck to check for space between two nets (not shapes) A net can have a bunch of shapes that are connected.

    I tried the below way to do this,

    - trace the nets Net1_name and Net2_name.

    - compare drc() between them

    drcExtractRules(

    m1 = geomOr("M1")

    via1=geomOr(via1)

    ...

    ... upto top metal

    ;connect all shapes

    geomConnect(

    label( ("m1" "label") m1)

    via(via1 m1 m2)

    label( ("m2" "label") m2)

    via(via2 m2 m3)

    ... up to top metal

    )

    ;get the shapes that belong to the required net

    netm1 = geomGetNet(m1 "Net1_Name")

    netm2 = geomGetNet(m2 "Net2_Name")

    .... upto top metal

    fullNet1 = geomOr(netm1 metm2 ...)

    netm1 = geomGetNet(m1 "Net2_Name")

    netm2 = geomGetNet(m2 "Net2_Name")

    .... upto top metal

    fullNet2 = geomOr(netm1 metm2 ...)

    ;compare drc between them

    saveDerived(drc(fullNet1 fullNet2 0<sep<10) "DRC error")

    )

    Problem with this approach is that it takes way too long to run for a big cell even though the nets I am looking for a very small. I found that the connect statement is the one that seems to take a lot of time as it tries to connect the whole layout which is not necessary.

    Any suggestions on how to do this in an efficient way.

    Thanks,

    Naveen

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Naveen Premkumar

    Because you had filed two posts for the same issue in two different forums (the Forum Guidelines explicitly ask you not to do this - it creates confusion and means that nobody knows where to answer the question, and potentially doubles the effort needed to respond; please read the guidelines), I merged your two posts.

    Probably the sensible thing would be to use something more modern and scalable than Diva, such as Assura (similar rules) or PVS. Diva is very old and not well-suited to large designs.

    Regards,

    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