Diva Extraction Rules

Discussion in 'Cadence' started by vtcad, Oct 4, 2006.

  1. vtcad

    vtcad Guest

    I would like to use Diva to trace Layout nets and am in need of a
    example Rules file that will show me how to do this. If anyone can
    offer a starting point that would be great. I'm assuming this is very
    similar to what is done for an antenna check, you pick a starting point
    and capture all the shapes tied to that net. Ultimatly I would like to
    take the resulting net(s) and compare its proximity to other nets
    within the same layout.

    thanks,
     
    vtcad, Oct 4, 2006
    #1
  2. drcExtractRules(
    well = geomOr("well")
    diff = geomOr("diff")
    poly = geomOr("poly")
    cont = geomOr("cont")
    met1 = geomOr("met1")
    via1 = geomOr("via1")
    met2 = geomOr("met2")

    subs = geomNot(well)
    gate = geomAnd(diff poly)
    diff = geomAndNot(diff poly)

    geomConnect(
    svia(cont met1 poly diff well subs)
    via(via1 met2 met1)
    )

    ; select shapes based on the presence of a shape overlapping
    ; some met1 shapes in the net or nets of interest
    met1_tagged = geomOverlap(met1 ("met1" "tag"))
    diff_int = geomNodeRelate(diff met1_tagged)
    poly_int = geomNodeRelate(poly met1_tagged)
    cont_int = geomNodeRelate(cont met1_tagged)
    met1_int = geomNodeRelate(met1 met1_tagged)
    via1_int = geomNodeRelate(via1 met1_tagged)
    met2_int = geomNodeRelate(met2 met1_tagged)

    ; or use the net name, but this would be hard coded in the rule
    ; deck and not as easy to change as a shape
    diff_int = geomGetNet(diff "foo")
    poly_int = geomGetNet(poly "foo")
    cont_int = geomGetNet(cont "foo")
    met1_int = geomGetNet(met1 "foo")
    via1_int = geomGetNet(via1 "foo")
    met2_int = geomGetNet(met2 "foo")

    < do something with the selected shapes>
    )
     
    Edward Kalenda, Oct 4, 2006
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.