leSearchHierarchy

Discussion in 'Cadence' started by Tracy Groller, Aug 25, 2004.

  1. All,

    I am useing the below to find all lables the dfII layout from the top to
    10 levels
    deep, is there a way to transform the coords of the labels to the top level
    and not the lower levels

    netfind = leSearchHierarchy( cv_dbid cv_dbid~>bBox 10 "label" list(
    list( "layer" "==" list( "" "drawing" ) ) ) )

    --


    \ ~ ~ ///
    ---- ( @ @ )
    | | ======oOOo==(_)==oOOo=======================================
    | |__<*> ___ Tracy Groller | Texas Instruments, Inc.
    | _|III|_ | ------------------| Wireless RFCMOS Design
    _____| /_ III _/ \ TI MSGID: TAG2 | P.O. Box 660199, MS 8729
    \_ /III/ | PC Drop: PFLL | Dallas, Texas 75266
    \ _ /III/ _| -------------------------------------------------
    \_/ \ \___> - Phone: (214) 480-2217 Text Pager
    \ / Email:
    \ \ =======================================================
    \---\
     
    Tracy Groller, Aug 25, 2004
    #1
  2. Suresh Jeevanandam, Aug 26, 2004
    #2
  3. Suresh,

    this is good, but I am looking for something
    much like the Search function from the Virtuoso Layout menu,
    I do not need to copy the labels/pins to the top level
    just find the world coordinates and place them into an array
    for parsing .

    Tracy

    --


    \ ~ ~ ///
    ---- ( @ @ )
    | | ======oOOo==(_)==oOOo=======================================
    | |__<*> ___ Tracy Groller | Texas Instruments, Inc.
    | _|III|_ | ------------------| Wireless RFCMOS Design
    _____| /_ III _/ \ TI MSGID: TAG2 | P.O. Box 660199, MS 8729
    \_ /III/ | PC Drop: PFLL | Dallas, Texas 75266
    \ _ /III/ _| -------------------------------------------------
    \_/ \ \___> - Phone: (214) 480-2217 Text Pager
    \ / Email:
    \ \ =======================================================
    \---\
     
    Tracy Groller, Aug 26, 2004
    #3
  4. Tracy,

    All the information you should need to write something is in that code though -
    the main issue is concatenating all the transforms - and then you can use
    dbTransformPoint() or dbTransformBBox() together with the computed transform
    to figure out the transformed coordiantes.

    It's not that hard - just a recursive function. You'd need to base it on
    something like the code in the reference, and not do the dbCopyFig bit.

    Andrew.
     
    Andrew Beckett, Aug 26, 2004
    #4
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.