How to highlight a path in Encounter?

Discussion in 'Cadence' started by ananta.majhi, Jun 12, 2008.

  1. ananta.majhi

    ananta.majhi Guest

    Hello,
    I am Ananta Majhi, working for NXP semiconductors in Eindhoven,
    Netherlands.
    My Interest? I got a list of nodes from PrimeTime-synopsys (and/or
    ETS-cadence) static timer. I would like to highlight the complete path
    (starting from a FF/Q and ending at FF/D) from a DEF file (or GDSII
    file).
    Can anyone help me in this regard with a short list of commands?
    Thanks a lot in advance for your help and cooperation.

    Best regards - Ananta Majhi
    9:50hrs, 12 June 2008
     
    ananta.majhi, Jun 12, 2008
    #1
  2. ananta.majhi

    S. Badel Guest

    Hello,
    Based on a list of nets, the short function below will do this

    proc hilitePath { nets {color 7} } {
    dehiliteAll
    deselectAll
    redraw
    foreach net $nets {
    set netPtr [dbGetNetByName $net]
    if { $netPtr != "0x0" } {
    dbHiliteObj $netPtr $color
    dbSelectObj $netPtr
    }
    }
    zoomSelected
    }

    Example usage : hilitePath {net1 net2 net3}


    Cheers,
    Stéphane
     
    S. Badel, Jun 13, 2008
    #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.