Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 dbGet options 

Last post Fri, Jan 22 2010 5:44 PM by sandeepj. 5 replies.
Started by sandeepj 22 Jan 2010 01:01 PM. Topic has 5 replies and 3738 views
Page 1 of 1 (6 items)
Sort Posts:
  • Fri, Jan 22 2010 1:01 PM

    • sandeepj
    • Not Ranked
    • Joined on Sun, Jul 20 2008
    • Noida, Uttar Pradesh
    • Posts 3
    • Points 60
    dbGet options Reply

    Could anyone please explain the usage of dbGet options? eg how pattern matching works in dbGet & -p option. 

    dbGet -help just shows the options.

    man dbGet doesnt work.

    thanks,

    sandeepj

    Filed under:
    • Post Points: 35
  • Fri, Jan 22 2010 1:28 PM

    • mohanch
    • Not Ranked
    • Joined on Wed, Jul 16 2008
    • Bangalore, Karnataka
    • Posts 3
    • Points 45
    Re: dbGet options Reply

     Hi , Encounter has a very powerfull db utilitys , you can write N number of tcl for specific encounter Degital implemetation .

    for your Q. dbGet has to use with type like :

    dbGetBottomIoPadOrient
    dbGetBumpByName
    dbGetBumpCellByName
    dbGetBumpCount
    dbGetBumpDetailCount
    dbGetCapUnitStr
    dbGetCellByName
    dbGetCellByNameAndLib
    dbGetCellByNameAndLibType
    dbGetCellFreeLegalLoc
    dbGetCellTimeArc
    dbGetChildHInst
    dbGetDefaultTechSite

    Ex. :

    Example
    dbGetCellByName BUFFF2XLVT

    Returns:
    0x83b568b0

    will stores the valu in cell 

    set cell [dbGetCellByName $cellName]

    You can get help for db comments form "Encounter Database Access Command reference  manual "

     

    Cheers

     

    • Post Points: 20
  • Fri, Jan 22 2010 2:57 PM

    • sandeepj
    • Not Ranked
    • Joined on Sun, Jul 20 2008
    • Noida, Uttar Pradesh
    • Posts 3
    • Points 60
    Re: dbGet options Reply

    Hi,

     thanks for the reply. Actually I wanted to know about "-p"  & "[pattern]" options of "dbGet" command

     regards

    sandeep

    • Post Points: 20
  • Fri, Jan 22 2010 3:32 PM

    • mohanch
    • Not Ranked
    • Joined on Wed, Jul 16 2008
    • Bangalore, Karnataka
    • Posts 3
    • Points 45
    Re: dbGet options Reply

    Pl. reffer to "database Access Command Diagrams "  Diagram which shows the database access command relationship between Design Objests

     

    FYI .

    dbGetBlackBoxByName
    dbGetBottomIoPadOrient
    dbGetBumpByName
    dbGetBumpCellByName
    dbGetBumpCount
    dbGetBumpDetailCount
    dbGetCapUnitStr
    dbGetCellByName
    dbGetCellByNameAndLib
    dbGetCellByNameAndLibType
    dbGetCellFreeLegalLoc
    dbGetCellTimeArc
    dbGetChildHInst
    dbGetDefaultTechSite
    dbGetDPathByName
    dbGetExtRuleByName
    dbGetFPlanLayerHalo
    dbGetFPlanNrRow
    dbGetFTermByName
    dbGetGroupAncester
    dbGetGroupByName
    dbGetHaloValue
    dbGetHInstBoxArea
    dbGetHInstByName
    dbGetHTermByInstTermName
    dbGetInstByName
    dbGetIoByName
    dbGetIoDriverSiteCount
    dbGetIoRowMargin
    dbGetIsNetlistChangedForClink
    dbGetLayerBlkByName
    dbGetLayerByExtId
    dbGetLayerById
    dbGetLayerByName
    dbGetLayerShapeLayer
    dbGetLayerShapeViaCell
    dbGetLayerShapeViaLoc
    dbGetLayerByZ
    dbGetLDFLibs
    dbGetLocAndSide
    dbGetLocPowerDomainVoltage
    dbGetMetalLayerById
    dbGetNetByLocalName
    dbGetNetByName
    dbGetNetDrivenTermsThroughLoc
    dbGetNetFrequency
    dbGetNetGroupByName
    dbGetNetRectBBox
    dbGetNetRectID
    dbGetNetTotCap
    dbGetNextHInst
    dbGetNumOfIoRow
    dbGetObjByName
    dbGetObstructByName
    dbGetOrCreatePropByName
    dbGetOrCreateSNetByName
    dbGetPathById
    dbGetPGFTermByName
    dbGetPGTermByName
    dbGetPinGroupByName
    dbGetPowerDomainByName
    dbGetPrerouteAsObs
    dbGetPrevHInst
    dbGetPropByName
    dbGetPropTypeByName
    dbGetPtnBorderCoords
    dbGetPtnByName
    dbGetPtnCutByName
    dbGetPtnFeedByName
    dbGetPtnFPinsInArea
    dbGetPtnFPlanBox
    dbGetPtnLayerHalo
    dbGetPtnPinBlkByName
    dbGetRaShapeBox
    dbGetRawSlack
    dbGetRouteBlkByName
    dbGetRouteGuideByName
    dbGetScreenByName
    dbGetShapePath
    dbGetShapePoly
    dbGetShapeRect
    dbGetShifterCellsForPD
    dbGetSNetByName
    dbGetSNodeByIdx
    dbGetSpefInFileName
    dbGetSrcClks
    dbGetStripByName
    dbGetTechSiteByName
    dbGetTermByInstTermName
    dbGetTermByName
    dbGetTileCellByName
    dbGetTimeLibByName
    dbGetTimeUnitStr
    dbGetViaCellByName
    dbGetVInstByName
    dbGetVNetByName


     

    Regards,

    -Mohan

    • Post Points: 5
  • Fri, Jan 22 2010 5:26 PM

    • BobD
    • Top 25 Contributor
    • Joined on Fri, Jul 11 2008
    • Chelmsford, MA
    • Posts 247
    • Points 9,325
    Re: dbGet options Reply

    Hi Sandeep,

    We've written a number of blog entries on getting started with dbGet.  I think you'd find good examples of pattern matching and -p in these entries:

    http://www.cadence.com/Community/search/SearchResults.aspx?&q=dbGet&Scope=Blogs

    The db* commands Mohan is referring to are the older "FE-TCL"-style commands.  They still work, but we're encouraging users towards dbGet these days as we feel it provides a more concise self-documented way of exploring the Encounter database.

    There was a bug in 8.1 with the help and man for dbGet, but if you call dbGet without any options you can see usage at the command line:

    encounter 1> dbGet
    The correct command usage is:
    Usage: dbGet [-d] [-p#] [-u] [-regexp] <obj|obj_list|head|top|selected>.[obj_type][{.attr_name|.?|.??|.?h} [pattern]]

    You can also get extended help for dbGet in the Encounter Digital Implementation System
    Text Command Reference (fetxtcmdref.pdf).  Let us know if you have questions after referring to those blog entries.

    Hope this helps,
    Bob

     

    • Post Points: 20
  • Fri, Jan 22 2010 5:44 PM

    • sandeepj
    • Not Ranked
    • Joined on Sun, Jul 20 2008
    • Noida, Uttar Pradesh
    • Posts 3
    • Points 60
    Re: dbGet options Reply

     Thanks a lot Bob. This is what I was looking for.

     regards

    sandeep

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by sandeepj at 22 Jan 2010 01:01 PM. Topic has 5 replies.