导图社区 dbGet 进阶用法
这是一篇关于dbGet 进阶用法的思维导图,主要内容包括:属性,查询命令。有需要的赶紧收藏吧!
编辑于2024-04-11 09:46:39dbGet 进阶用法
查询命令
dbSchema net / dbSchema net*
dbGet top.insts.?h pStatus
dbSchema -parent net 查询上一级的属性 dbSchema -parent net -list
属性
bndry 得到design中fence,region,guide的place信息
Parent Object fPlan, hInst
Child Object area,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,boxes,hInst,objtype,prop,type
objtype: 该attribute的类型是什么,通常可以用于检查一个指针是什么类型
prop: 可以自己使用define_property来定义新的property
type: 这个类型就是指module的约束属性了,分别是fence,region,guide,none,cluster
hInst 带有hierarchy结构的module
bump 得到design中的bump信息
Parent Object topCell
Child Object
cell: bump cell
net: bump上assign的net
pStatus: bump placement status,分为cover, fixed, placed, softFixed, unplaced
term: bump的terminal
type: bump的terminal属性,分为analogTerm, asyncCtrlTerm, clockTerm, dQTerm, dTerm, fFQTerm, feedTerm, gatedClockTerm, groundTerm, latchQTerm, normalTerm, powerTerm, rSTerm, triStateTerm
bus 得到design中bus net的属性
Parent Object net, term
Child Object baseName,bits,lsb,msb
baseName: bus的基本名,比如A[7:0]的base name 就是A
bits: bus的每个bit
lsb: bus最小的有效bit
msb: bus最大的有效bit
busGuide 得到floorplan中bus guide的信息
Parent Object fplan
Child Object area,botLayer,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,netGroup,topLayer
fPlan 基本上physical的东西都能在这个parent下搜到
Parent Object topCell
Child Object
gCellGridDef 得到design中gcell grid的属性,其实输出的就是def文件中gcell grid的内容
Parent Object fPlan
Child Object dir,numGrids,start,step
dir: design中所有类型的gcell grid的方向
numGrids:design中所有类型gcell grid的属性
start: design中所有类型gcell grid的起始点
step:design中所有类型gcell grid的间距
group 得到design中inst group的信息
Parent Object fPlan, hInst, inst, pd
Child Object area,boxes,conType,density,members,name,parent,pd,props
conType:得到instance group所添加的constrain属性
members:得到添加到instance group中的instance属性
parent:得到sub group所属的parent group属性
pd: 得到instance group的power domain
head head是整个design中包括库在内的所有东西总和。
Parent Object No Parents
Child Object allCells,cellEdgeSpacings,dbUnits,finGridDirection,finGridOffset,finGridPitch,instMaskShiftLayers,layers,libCells,mfgGrid,props,ptnCells,routeTypes,rules,sites,topCells,vCells,vias
instMaskShiftLayers:得到instance哪层layer可以shift
ptnCells: 得到partition cell名字
rules: design中的ndr rules
vCells:verilog中的module
hInst hierarchical insts
Parent Object bndry,group,hInstTerm,hTerm, inst,ptn,topCell,vCell
Child Object allInsts,allTreeInsts,area,bndry,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,boxes,cell,group,hInstTerms,hInsts,hNets,insts,name,parent,props,ptn,treeHInsts,treeInsts
allInsts:指的是当前hinst level下的所有insts
allTreeInsts: 指的是所有hinst以及所有子level下的inst
hInstTerms: hinst的terminal,就是传统意义上的hinst的port口,如下图所示:红圈圈的就是top下hinst的hInstTerms
hNets:指hinst的net
parent:指的是hinst上一级parent hinst的属性
treeHInsts:得到所有的hinsts属性
treeInsts:得到所有的insts属性,treeInsts加上treeHInsts就是allTreeInsts
hInstTerm hinst的terminal
Parent Object hInst, hNet
Child Object downHNet,hInst,hTerm,layer,name,net,props,pt,pt_x,pt_y,term,upHNet
hTerm:hierarchical term,这个和hinstTerm的区别在于,hinstTerm是对一个hinst来说,从外往里看的teminal;而hTerm是从里往外看的teminal,是flat的
downHNet/upHNet: 对一条hierarchical net来说,对交接处的port来说,往下走的net就是downHNet,就是蓝色圆圈;往上走的net的就是upHNet,就是红色圆圈。
term:term的概念是cell的terminal,可以是lib cell,partition cell或者top cell
inst flat design下的instance
Parent Object group, hInst, instTerm, io, pBlkg, ptn, rBlkg, sdp, topCell
Child Object area,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,boxes,cell,group,hInst,instTerms,isAlwaysOn,isDontTouch,isHaloBlock,isIsolation,isJtagElem,isLevelShifter,isPhysOnly,isSpareGate,maskShift,name,orient,pHaloBot,pHaloBox,pHaloBox_area,pHaloBox_ll,pHaloBox_llx,pHaloBox_lly,pHaloBox_size,pHaloBox_sizex,pHaloBox_sizey,pHaloBox_ur,pHaloBox_urx,pHaloBox_ury,pHaloLeft,pHaloRight,pHaloTop,pStatus,pd,pgCellTerms,pgTermNets,props,pt,pt_x,pt_y,rHaloBotLayer,rHaloSideSize,rHaloTopLayer
instTerm instance的pin
Parent Object hNet, inst, net
Child Object cellTerm,hNet,inst,isInput,isOutput,isSpecial,isTieHi,isTieLo,layer,name,net,pd,pt,pt_x,pt_y
io io pad或者io pin的信息
Parent Object fPlan
Child Object area,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,indent,inst,isAssigned,isCorner,isGapFixed,isGround,isOffsetFixed,isPower,name,offset,order,row,side,spacing,term,type
layer tech lef中layer的信息
Parent Object antennaData, busGuide, cellDensity, fPlan, hInstTerm, head, inst, instTerm, layerRule, layerShape, marker, net, pWire, pinGuide, ptn, ptnPinBlkg, rBlkg, routeType, sWire, term, text, trackDef, vWire, via, viaRuleGenerate, wire
Child Object antennaModel1,antennaModel2,antennaModel3,antennaModel4,area,backside,densityStepX,densityStepY,densityWindowX,densityWindowY,direction,extName,fillActiveSpacing,fillGapSpacing,maxDensity,maxWidth,mfgGrid,minDensity,minSpacing,minWidth,name,num,numMasks,offsetX,offsetY,pitchX,pitchY,props,spacingTables,type,width,wrongwayMinWidth,wrongwaySpacing,wrongwayWidth
libCell library中的cell信息
Parent Object bump, head, inst, term
Child Object abstractLib,abstractView,allObstructions,baseClass,cellDensities,eeqCells,foreigns,isAbstractDefined,isBuffer,isDontTouch,isDontUse,isInverter,isIsolation,isLevelShifter,isSequential,isTimeDefined,isVDDOnBottom,layerShapeObstructions,layoutLib,layoutView,lefFileName,leftEdgeName,leftPadding,name,numBidirs,numInputs,numOutputs,numPGTerms,numPhysTerms,numRefs,numTerms,pgTerms,physTerms,props,rightEdgeName,rightPadding,shapeViaObstructions,site,size,size_x,size_y,subClass,symmetryR90,symmetryX,symmetryY,terms
net net信息
Parent Object bump, bus, hInstTerm, hNet, hTerm, inst, instTerm, netGroup, pWire, pd, routeType, sViaInst, sWire, term, topCell, vWire, viaInst, wire
Child Object allTerms,area,avoidDetour,botMaskLayerNum,botOneSideSpacingLayerNum,bottomPreferredLayer,box,box_area,box_ll,box_llx,box_lly,box_size,box_sizex,box_sizey,box_ur,box_urx,box_ury,bus,hNets,instTerms,isAnalog,isCTSClock,isClock,isDontTouch,isExternal,isFixedBump,isGnd,isMixedSignal,isPatternTrunk,isPhysOnly,isPwr,isPwrOrGnd,isScanNet,isTrialRouted,mask,maxVoltage,minVoltage,name,numInputTerms,numOutputTerms,numTerms,pWires,preferredExtraSpace,props,rule,sVias,sWires,shieldNets,siPostRouteRepair,skipAntennaRepair,skipRouting,terms,topMaskLayerNum,topOneSideSpacingLayerNum,topPreferredLayer,vias,weight,wires
topCell top cell下面的信息
Parent Object fPlan, head, pinGroup, pinGuide, term
Child Object bumps,designLib,designView,fPlan,hInst,insts,isProtoModelCommitted,isProtoModelSpecified,isVDDOnBottom,markers,name,nets,numBidirs,numInputs,numInsts,numNets,numPGTerms,numPhysInsts,numPhysNets,numPhysTerms,numTerms,pds,pgTerms,physInsts,physNets,physTerms,pinToCornerDist,pkgComponents,pkgObjects,props,ptns,statusClockSynthesized,statusDetailRouted,statusGRouted,statusIoPlaced,statusPlaced,statusPowerAnalyzed,statusRCExtracted,statusRouted,statusScanOpted,symmetryR90,symmetryX,symmetryY,terms,texts
term top level io port信息
Parent Object bump, bus, hInstTerm, hTerm, inst, instTerm, io, libCell, net, pinGroup, ptnCell, topCell
Child Object antennas,bus,cell,depth,groundSensitivity,inOutDir,isClk,isInput,isOutput,isScanClk,isSpecial,isTieHi,isTieLo,layer,mustJoin,name,net,orient,pStatus,pd,pins,props,pt,pt_x,pt_y,rule,shape,side,supplySensitivity,type,width