8
CDBA Placement Functions
This chapter includes the following topics:
- Structs in Placement Infrastructure
- Enumerated Types and Enumerated Constants used in Placement Infrastructure
- Background Definition Functions
- Component Type Set Definition Functions
- Rail Definition Functions
- Placement Area Definition Functions
- Row-based Functions
- Row Region Specification Functions
- Row Region Functions
- Miscellaneous Functions
Structs in Placement Infrastructure
This section covers the structs used in placement infrastructure.
| Type | Name | Description |
|---|---|---|
| Type | Name | Description |
|---|---|---|
| Type | Name | Description |
|---|---|---|
|
Allowed orientations that placer can use for cells in the component types. |
||
|
Offset from the reference points computed from row reference, specified in user units. |
||
dbPlaceCellsAttrData
| Type | Name | Description |
|---|---|---|
Enumerated Types and Enumerated Constants used in Placement Infrastructure
This sections covers the enumerated types and enumerated constants used in placement infrastructure.
| Alignment | Enumerated constants |
|---|---|
| Allowed orientations | Enumerated constants |
|---|---|
| Allowed railFig Types | Enumerated constants |
|---|---|
| Allowed placeRow Types | Enumerated constants |
|---|---|
Background Definition Functions
- dbAllocBackgroundDefAttrArray
- dbCreateBackgroundDef
- dbCreateBackgroundDefByAttr
- dbDeleteBackgroundDef
- dbCreateBackgroundDef
- dbGenBackgroundDef
- dbGetBackgroundDefAttr
- dbGetBackgroundDefEnclosure
- dbGetBackgroundDefLP
- dbGetBackgroundDefName
- dbGetBackgroundDefNetName
- dbSetBackgroundDefEnclosures
- dbSetBackgroundDefLP
- dbSetBackgroundDefNetName
- dbStartGenBackgroundDef
dbAllocBackgroundDefAttrArray
dbBackgroundDefAttrData*
dbAllocBackgroundDefAttrArray
unsigned int numBackgroundDefAttrDatas
);
Description
Allocates memory for the array of backgroundDef attribute data and initializes the memory with zeroes.
Arguments
|
Number of backgroundDef attributes to fit in the allocated memory. |
|
Return Value
|
Pointer to the allocated memory area. For more information, see dbBackgroundDefAttrData. |
|
dbCreateBackgroundDef
dbBackgroundDefId
dbCreateBackgroundDef( dbCellViewIdcellViewId, constStringnameBackgroundDef, dbLayerlayer, dbPurposepurpose, constStringnetName, intleftEnclosure, intrightEnclosure, inttopEnclosure, intbottomEnclosure);
Description
Creates a backgroundDef based on the specified attributes. The layer-purpose pair must exist to create a backgroundDef.
Arguments
Return Value
dbCreateBackgroundDefByAttr
dbBackgroundDefId
dbCreateBackgroundDefByAttr( dbCellViewIdcellViewId, onstStringname, dbBackgroundDefAttrData*data);
Description
Creates a backgroundDef based on specified attributes.
Arguments
|
Struct with the backgroundDef attributes. For more information, see dbBackgroundDefAttrData. |
Return Value
dbDeleteBackgroundDef
Boolean
dbDeleteBackgroundDef(
dbBackgroundDefId bgDefId
);
Description
Deletes a backgroundDef object with the specified database ID.
Arguments
Return Value
dbFreeBackgroundDefAttrArray
void
dbFreeBackgroundDefAttrArray( unsigned intnumBackgroundDefAttrDatas, dbBackgroundDefAttrData *backgroundDefAttrData);
Description
Deallocates the memory allocated for an array of backGroundDef objects.
Arguments
|
Pointer to the memory area to deallocate. For more information, see dbBackgroundDefAttrData. |
|
Return Value
dbGenBackgroundDef
Boolean
dbGenBackgroundDef( dbGenStateIdpState, dbBackgroundDefId *bgDefId);
Description
Retrieves the ID of the next backgroundDef object from the generator with the given pState. ID of the backgroundDef object is returned in bgDefId.
Arguments
|
ID of the next backgroundDef object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
TRUE if the next backgroundDef ID is successfully generated. |
dbGetBackgroundDefAttr
Boolean
dbGetBackgroundDefAttr( dbBackgroundDefIdbgDefId, dbBackgroundDefAttrData *data);
Description
Returns the attributes of the specified backgroundDef object.
Arguments
|
Pointer to struct in which the background def attributes will be returned. For more information, see dbBackgroundDefAttrData. |
Return Value
dbGetBackgroundDefEnclosure
Boolean
dbGetBackgroundDefEnclosures( dbBackgroundDefIdbgDefId, int *pLeft, int *pRight, int *pTop, int *pBottom);
Description
Returns all enclosures of the specified backgroundDef object.
Arguments
Return Value
dbGetBackgroundDefLP
Boolean
dbGetBackgroundDefLP( dbBackgroundDefIdbgDefId, dbLayer *pLayer, dbPurpose *pPurpose);
Description
Returns the layer and purpose of the specified backgroundDef object.
Arguments
|
Pointer to the layer number to be associated with the backgroundDef. |
|
|
Pointer to the purpose number to be associated with the backgroundDef. |
Return Value
dbGetBackgroundDefName
String
dbGetBackgroundDefName(
dbBackgroundDefId bgDefId
);
Description
Returns the name of the specified backgroundDef object.
Arguments
Return Value
dbGetBackgroundDefNetName
String
dbGetBackgroundDefNetName(
dbBackgroundDefId bgDefId
);
Description
Returns the net name of a backgroundDef with the specified database ID.
Arguments
Return Value
dbSetBackgroundDefEnclosures
Boolean
dbSetBackgroundDefEnclosures( dbBackgroundDefIdbgDefId, intleft, intright, inttop, intbottom);
Description
Sets specified enclosures on a backgroundDef with the specified database ID.
Arguments
Return Value
dbSetBackgroundDefLP
Boolean
dbSetBackgroundDefLP( dbBackgroundDefIdbgDefId, dbLayerlayer, dbPurposepurpose);
Description
Sets specified layer and purpose for a backgroundDef with the specified database ID.
Arguments
Return Value
dbSetBackgroundDefNetName
Boolean
dbSetBackgroundDefNetName( dbBackgroundDefIdbgDefId, constStringnetName);
Description
Sets the given net name for a backgroundDef with the specified database ID.
Arguments
Return Value
dbStartGenBackgroundDef
dbGenStateId
dbStartGenBackgroundDef(
dbCellViewId cellViewId
);
Description
Initializes a generator for all backgroundDefs in the specified cellview. A generator state ID is returned, which is used with the dbGenBackgroundDef function.
Arguments
Return Value
Component Type Set Definition Functions
- dbAllocCompTypeSetDefAttrArray
- dbCreateCompTypeSetDef
- dbCreateCompTypeSetDefByAttr
- dbFreeCompTypeSetDefAttrArray
- dbGenCompTypeSetDef
- dbGetCompTypeSetDefAttr
- dbGetCompTypeSetDefCompFilters
- dbSetCompTypeSetDefCompFilters
- dbStartGenCompTypeSetDef
- dbUnsetCompTypeSetDefCompFilters
dbAllocCompTypeSetDefAttrArray
dbCompTypeSetDefAttrData*
dbAllocCompTypeSetDefAttrArray(
unsigned int numCompTypeSetDefAttrData
);
Description
Allocates memory for the array of compTypeSetDef attribute data and initializes the memory with zeroes.
Arguments
|
Number of compTypeSetDef attributes to fit in the allocated memory. |
|
Return Value
dbCreateCompTypeSetDef
dbId
dbCreateCompTypeSetDef( dbCellViewIdcellViewId, constStringallowedCompName, dbAlignmentTypeareaRef, dbAlignmentTypecompRef, dbOrient *orients, intnumOrients, constString *compTypes, intnumCompTypes, dbCoordoffset, dbCoordgrid);
Description
Creates a compTypeSetDef object in the specified cellView.
Arguments
|
For more information, see dbAlignmentType. |
|
|
Specifies component reference. For more information, see dbAlignmentType. |
|
|
Array of allowed orientations that placer can use for cells in the component types. For more information, see dbOrient. |
|
|
The offset from the reference points computed from row reference can be specified in user units. |
|
|
The pitch or grid to use between placement locations can be specified. |
Return Value
dbCreateCompTypeSetDefByAttr
dbCompTypeSetDefId
dbCreateCompTypeSetDefByAttr( dbCellViewIdcellViewId, constStringname, dbCompTypeSetDefAttrData*data);
Description
Creates a compTypeSetDef based on the specified attributes.
Arguments
|
Pointer to the struct of compTypeSetDef attributes. For more information, see dbCompTypeSetDefAttrData. |
Return Value
dbFreeCompTypeSetDefAttrArray
void
dbFreeCompTypeSetDefAttrArray( unsigned intnumCompTypeSetDefAttrData, dbCompTypeSetDefAttrData *compTypeSetDefAttrDatas);
Description
Deallocates the memory allocated for an array of compTypeSetDef objects.
Arguments
Return Value
dbGenCompTypeSetDef
Boolean
dbGenCompTypeSetDef( dbGenStateIdpState, dbId *pCompTypeSetDefId);
Description
Retrieves the ID of the next compTypeSetDef object from the generator with the given pState. ID of the backgroundDef is returned in pCompTypeSetDefId.
Arguments
|
ID of the next compTypeSetDef object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGetCompTypeSetDefAttr
Boolean
dbGetCompTypeSetDefAttr( dbCompTypeSetDefIdcompTypeSetDefId, dbCompTypeSetDefAttrData*data);
Description
Returns the attributes of the specified compTypeSetDef object.
Arguments
|
Pointer to the struct of compTypeSetDef attributes. For more information, see dbCompTypeSetDefAttrData. |
Return Value
dbGetCompTypeSetDefCompFilters
Boolean
dbGetCompTypeSetDefCompFilters( dbIdcompTypeSetDefId, **compFilters, int *numCompFilters);
Description
Returns the compFilters in the specified compTypeSetDef object.
Arguments
|
Pointer to the memory area in which the array of compFilters is placed. For more information, see dbCompFilterSpec. |
|
|
Pointer to the memory area in which the number of compFilters is placed. |
Return Value
dbSetCompTypeSetDefCompFilters
Boolean
dbSetCompTypeSetDefCompFilters( dbIdcompTypeSetDefId, dbCompFilterSpec *compFilters, intnumCompFilters);
Description
Sets the compFilters in the specified compTypeSetDef object.
Arguments
|
Array of compFilters to be set. For more information, see dbCompFilterSpec. |
|
Return Value
dbStartGenCompTypeSetDef
dbGenStateId
dbStartGenCompTypeSetDef(
dbCellViewId cellViewId
);
Description
Initializes a generator for all compTypeSetDef objects in the specified cellview. A generator state ID is returned, which is used with the dbGenCompTypeSetDef function.
Arguments
Return Value
dbUnsetCompTypeSetDefCompFilters
Boolean
dbUnsetCompTypeSetDefCompFilters(
dbId compTypeSetDefId
);
Description
Removes the compFilters from the specified compTypeSetDef object.
Arguments
Return Value
Rail Definition Functions
- dbAllocRailDefAttrArray
- dbCreateRailDef
- dbCreateRailDefByAttr
- dbFreeRailDefAttrArray
- dbGenRailDef
- dbGetRailDefAttr
- dbGetRailDefFigType
- dbSetRailDefFigType
- dbStartGenRailDef
dbAllocRailDefAttrArray
dbRailDefAttrData*
dbAllocRailDefAttrArray(
unsigned int numRailDefAttrDatas
);
Description
Allocates memory for the array of railDef attribute data and initializes the memory with zeroes.
Arguments
|
Number of railDef attributes to fit in the allocated memory. |
Return Value
dbCreateRailDef
dbId
dbCreateRailDef( dbCellViewIdcellViewId, StringrailName, StringnetName, dbAlignmentTypeareaRef, dbAlignmentTyperailRef, dbLayerlayer, dbPurposepurpose, dbDistancewidth, dbCoordoffset, dbCoordbeginOffset, dbCoordendOffset);
Description
Creates a railDef in the specified cellview.
Arguments
|
Alignment type of area of the rail geometry. For more information, see dbAlignmentType. |
|
|
Alignment type of reference of the rail geometry. For more information, see dbAlignmentType. |
|
|
Places the rail at the specified distance (in user units) from the two reference points (rail and row). A negative value indicates offsetting the rail below the top/bottom edge of the row and a positive value indicates offsetting the rail above the top/bottom edge. |
|
|
Offsets or extends the rail by the specified user units from the left edge of the row. A negative value indicates offsetting the rail towards the left side of the left edge of the row and a positive value indicates offsetting the rail towards the right side of the left edge of the row. |
|
|
Offsets or extends the rail by the specified user units from the right edge of the row. A negative value indicates offsetting the rail towards the left side of the right edge of the row and a positive value indicates offsetting the rail towards the right side of the right edge of the row. |
dbCreateRailDefByAttr
dbRailDefId
dbCreateRailDefByAttr( dbCellViewIdcellViewId, constStringname, dbRailDefAttrData*data);
Description
Creates a railDef object based on the specified attributes.
Arguments
Return Value
dbFreeRailDefAttrArray
void
dbFreeRailDefAttrArray( unsigned intnumRailDefAttrDatas, dbRailDefAttrData *railDefAttrDatas);
Description
Deallocates the memory allocated for an array of railDef objects.
Arguments
Return Value
dbGenRailDef
Boolean
dbGenRailDef( dbGenStateIdpState, dbId *pRailDefId);
Description
Retrieves the ID of the next railDef object from the generator with the given pState. ID of the railDef is returned in pRailDefId.
Arguments
|
ID of the next railDef object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGetRailDefAttr
Boolean
dbGetRailDefAttr( dbRailDefIdrailDefId, dbRailDefAttrData *data);
Description
Returns the attributes of the specified railDef object.
Arguments
Return Value
dbGetRailDefFigType
dbRailFigType
dbGetRailDefFigType(
dbRailDefId railDefId
);
Description
Returns the rail figure type for the specified railDef object.
Arguments
Return Value
|
Rail figure type for the specified railDefObject. For more information, see dbRailFigType. |
dbSetRailDefFigType
Boolean
dbSetRailDefFigType( dbRailDefId railDefId, dbRailFigTypevalue);
Description
Sets the rail figure type for the specified railDef object.
Arguments
|
For more information, see dbRailFigType. |
Return Value
dbStartGenRailDef
dbGenStateId
dbStartGenRailDef(
dbCellViewId cellViewId
);
Description
Initializes a generator for all railDef objects in the specified cellview. A generator state ID is returned, which is used with the dbGenRailDef function.
Arguments
Return Value
Placement Area Definition Functions
- dbAddPlaceAreaBackgroundDef
- dbAddPlaceAreaCompTypeSetDef
- dbAddPlaceAreaRailDef
- dbAllocPlaceRowAttrArray
- dbCreatePlaceArea
- dbFreePlaceRowAttrArray
- dbGenPlaceArea
- dbGenPlaceAreaToBackgroundDef
- dbGenPlaceAreaToCompTypeSetDef
- dbGenPlaceAreaToRailDef
- dbGetPlaceAreaOrient
- dbGetPlaceAreaUtilization
- dbRemovePlaceAreaBackgroundDef
- dbRemovePlaceAreaCompTypeSetDef
- dbRemovePlaceAreaRailDef
- dbSetPlaceAreaOrient
- dbSetPlaceAreaUtilization
- dbStartGenPlaceArea
- dbStartGenPlaceAreaToBackgroundDef
- dbStartGenPlaceAreaToCompTypeSetDef
- dbStartGenPlaceAreaToRailDef
dbAddPlaceAreaBackgroundDef
Boolean
dbAddPlaceAreaBackgroundDef( dbIdplaceAreaId, dbIdbackgroundDef);
Description
Adds a reference from the placeArea object to the backgroundDef object. A warning message is displayed if the objects are not of the correct type.
Arguments
Return Value
dbAddPlaceAreaCompTypeSetDef
Boolean
dbAddPlaceAreaCompTypeSetDef( dbIdplaceAreaId, dbIdcompTypeSetDefId);
Description
Adds a reference from the placeArea object to the compTypeSetDef object. A warning message is displayed if the objects are not of the correct type.
Arguments
Return Value
dbAddPlaceAreaRailDef
Boolean
dbAddPlaceAreaRailDef( dbIdplaceAreaId, dbIdrailDef);
Description
Adds a reference from the placeArea to the railDef. A warning message is displayed if the objects are not of the correct type.
Arguments
Return Value
dbAllocPlaceRowAttrArray
dbPlaceRowAttrData*
dbAllocPlaceRowAttrArray(
unsigned int numPlaceRowAttrs
);
Description
Allocates memory for the array of placeRow attribute data and initializes the memory with zeroes.
|
Number of placeRow attributes to fit in the allocated memory. |
dbCreatePlaceArea
dbId
dbCreatePlaceArea( dbCellViewIdcellViewId, constStringname, dbDistancewidthIn, dbDistanceheightIn, dbPointoriginIn, dbOrientorientIn, doubleutilization);
Description
Creates a custom placeArea object in the specified cellview.
Arguments
|
Orientation at the placeArea object. For more information, see dbOrient. |
|
dbFreePlaceRowAttrArray
void
dbFreePlaceRowAttrArray( unsigned intnumAttrs, dbPlaceRowAttrData *attrs);
Description
Deallocates the memory allocated for an array of placeRow objects.
Arguments
|
Pointer to the memory area to deallocate. For more information, see dbBackgroundDefAttrData. |
|
Return Value
dbGenPlaceArea
Boolean
dbGenPlaceArea( dbGenStateIdpState, dbId *pPlcId);
Description
Retrieves the ID of the next custom placeArea object from the generator with the given pState. ID of the placeArea is returned in pPlcId.
Arguments
|
ID of the next placeArea object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenPlaceAreaToBackgroundDef
Boolean
dbGenPlaceAreaToBackgroundDef( bGenStateIdpState, dbBackgroundDefId *bgDefId);
Description
Retrieves the ID of the next backgroundDef object for the placeArea object from the generator with the given pState. ID of the backgroundDef is returned in bgDefId.
Arguments
|
ID of the next backgroundDef object for the placeArea object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenPlaceAreaToCompTypeSetDef
Boolean
dbGenPlaceAreaToCompTypeSetDef( dbGenStateIdpState, dbId *pCompTypeSetDefId);
Description
Retrieves the ID of the next allowed compTypeSetDef object for the placeArea object from the generator with the given pState. ID of the placeArea is returned in pCompTypeSetDefId.
Arguments
|
ID of the next allowed compTypeSetDef object for the placeArea object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenPlaceAreaToRailDef
Boolean
dbGenPlaceAreaToRailDef( dbGenStateIdpState, dbId *pRailDefId);
Description
Retrieves the ID of the next railDef object for the placeArea from the generator with the given pState. ID of the placeArea is returned in pRailDefId.
Arguments
|
ID of the next railDef object for the placeArea object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGetPlaceAreaOrient
dbOrient
dbGetPlaceAreaOrient(
dbId placeAreaId
);
Returns the orient attribute for the specified custom placeArea object.
Arguments
Return Values
|
Orientation of the specified placeArea object. For more information, see dbOrient. |
dbGetPlaceAreaUtilization
double
dbGetPlaceAreaUtilization(
dbId placeAreaId
);
Returns the the placement utilization attribute for the specified custom placeArea object.
Arguments
Return Values
dbRemovePlaceAreaBackgroundDef
Boolean
dbRemovePlaceAreaBackgroundDef( dbIdplaceAreaId, dbBackgroundDefIdbgDefId);
Description
Removes the specified backgroundDef from the specified placeArea object.
Arguments
Return Value
dbRemovePlaceAreaCompTypeSetDef
Boolean
dbRemovePlaceAreaCompTypeSetDef( dbIdplaceAreaId, dbIdcompTypeSetdef);
Description
Removes the specified compTypeSetDef object from the specified placeArea object.
Arguments
Return Value
dbRemovePlaceAreaRailDef
Boolean
dbRemovePlaceAreaRailDef( dbIdplaceAreaId, dbIdrailDef);
Description
Removes the specified railDef from the specified placeArea object.
Arguments
Return Value
dbSetPlaceAreaOrient
Boolean
dbSetPlaceAreaOrient( dbIdplaceAreaId, dbOrientorientIn);
Description
Sets the given orientation for the specified placeArea object.
Arguments
|
Orientation to be associated with the placeArea object. For more information, see dbOrient. |
Return Value
dbSetPlaceAreaUtilization
Boolean
dbSetPlaceAreaUtilization( dbIdplaceAreaId, doubleutilization);
Description
Sets the specified placement utilization attribute for the specified custom placeArea object.
Arguments
|
Placement utilization attribute to be associated with the placeArea object. |
Return Value
dbStartGenPlaceArea
dbGenStateId
dbStartGenPlaceArea(
dbCellViewId cellViewId
);
Description
Initializes a generator for all placeArea objects in the specified cellview. A generator state ID is returned, which is used with the dbGenPlaceArea function.
Arguments
Return Value
dbStartGenPlaceAreaToBackgroundDef
dbGenStateId
dbStartGenPlaceAreaToBackgroundDef(
dbId placeAreaId
);
Description
Initializes a generator for all backgroundDef objects associated with the specified placeArea object. A generator state ID is returned, which is used with the dbGenPlaceAreaToBackgroundDef function.
Arguments
Return Value
dbStartGenPlaceAreaToCompTypeSetDef
dbGenStateId
dbStartGenPlaceAreaToCompTypeSetDef(
dbId placeAreaId
);
Description
Initializes a generator for all compTypeSetDef objects associated with the specified placeArea object. A generator state ID is returned, which is used with the dbGenPlaceAreaToCompTypeSetDef function.
Arguments
Return Value
dbStartGenPlaceAreaToRailDef
dbGenStateId
dbStartGenPlaceAreaToRailDef(
dbId placeAreaId
);
Description
Initializes a generator for all railDefs associated with the specified placeArea object. A generator state ID is returned, which is used with the dbGenPlaceAreaToRailDef function.
Arguments
Return Value
Row-based Functions
A row object represents a row of sites where a cellview can be placed. A row represents a potential location for placement of standard cells, macros, or devices. A row is defined as an area associated with a siteDef. The siteDef has information allowing for the specification of the objects that can be placed within a row. A row is a repetition of a site element in a given direction (horizontal or vertical).
This section describes the following functions that affect row objects.
- dbAddRowBackgroundDef
- dbAddRowCompTypeSetDef
- dbAddRowRailDef
- dbCreateRow
- dbDeleteRow
- dbFindRowByName
- dbGenRow
- dbGenRowHeaderToRow
- dbGenRowToBackgroundDef
- dbGenRowToCompTypeSetDef
- dbGenRowToRailDef
- dbGetRow
- dbStartGenRowToCompTypeSetDef
- dbGetRowName
- dbGetRowNumSites
- dbGetRowSiteOrient
- dbGetRowOrigin
- dbGetRowRowHeader
- dbGetRowSiteDef
- dbGetRowSiteDefName
- dbGetRowSiteOrient
- dbGetRowUtilization
- dbIsRowBound
- dbIsRowId
- dbRemoveRowBackgroundDef
- dbRemoveRowCompTypeSetDef
- dbRemoveRowCompTypeSetDef
- dbRemoveRowRailDef
- dbSetRowName
- dbSetRowNumSites
- dbSetRowOrient
- dbSetRowOrigin
- dbSetRowSiteDef
- dbSetRowSiteOrient
- dbSetRowUtilization
- dbStartGenRow
- dbStartGenRowHeaderToRow
- dbStartGenRowToBackgroundDef
- dbStartGenRowToRailDef
dbAddRowBackgroundDef
Boolean
dbAddRowBackgroundDef( dbRowIdrowIddbIdbackgroundDef);
Description
Adds a reference from the row object to the backgroundDef object. A warning message is displayed if the objects are not of the correct type.
Arguments
Return Value
dbAddRowCompTypeSetDef
Boolean
dbAddRowCompTypeSetDef( dbRowIdrowIddbIdcompTypeSetDefId);
Adds the specified compTypeSetDef object to the specified row object. A warning message is displayed if the objects are not of the correct type.
Arguments
Return Value
dbAddRowRailDef
Boolean
dbAddRowRailDef( dbRowIdrowIddbIdrailDefId);
Description
Adds the specified placement railDef to the specified row.
Arguments
Return Value
dbCreateRow
dbRowId
dbCreateRow( dbCellViewIdcellViewId, techSiteDefIdsiteDefId, Stringname, dbPointorigin, dbOrientorient, dbOrient siteOrient, uint32_tnumSites);
Description
Creates a row object with the given attributes in the specified cellview.
Arguments
Return Values
|
Database ID of the created row object. Otherwise, returns NULL. |
dbDeleteRow
Boolean
dbDeleteRow(
dbRowId rowId
);
Description
Deletes specified the row object.
Arguments
Return Values
dbFindRowByName
dbRowId
dbFindRowByName( dbCellViewIdcellViewId, StringrowName);
Description
Searches for the specified row object if a row with the given row name exists in the specified cellview.
Arguments
Return Values
|
If the object is found, it returns the ID of the row. Otherwise, returns dbcNullId. |
dbGenRow
Boolean
dbGenRow( dbGenStateIdpState, dbRowId *pRowId);
Description
Retrieves the ID of the next row object from the generator with the given pState. ID of the row is returned in pRowId.
Arguments
|
ID of the next row object produced by the generator. This value is undefined if FALSE is returned. |
Return Values
|
|
dbGenRowHeaderToRow
Boolean
dbGenRowHeaderToRow( dbGenStateIdpState, dbRowId *pRowId);
Description
Retrieves the ID of the next row object with the given rowHeader from the generator with the given pState. ID of the row is returned in pRowId.
Arguments
|
ID of the next row with the given rowHeader produced by the generator. This value is undefined if FALSE is returned. |
Return Values
|
|
dbGenRowToBackgroundDef
Boolean
dbGenRowToBackgroundDef( dbGenStateIdpState, dbBackgroundDefId *bgDefId);
Description
Retrieves the ID of the next backgroundDef object for the specified row object from the generator with the given pState. ID of the backgroundDef is returned in bgDefId.
Arguments
|
ID of the next backgroundDef object for the specified row object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenRowToCompTypeSetDef
Boolean
dbGenRowToCompTypeSetDef( dbGenStateIdpState, dbId *pCompTypeSetDefId);
Description
Retrieves the ID of the next the allowed compTypeSetDef object associated with the specified row object from the generator with the given pState. ID of the backgroundDef object is returned in pCompTypeSetDefId.
Arguments
|
ID of the next allowed compTypeSetDef object associated with the specified row object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenRowToRailDef
Boolean
dbGenRowToRailDef( dbGenStateIdpStatedbId *pRailDefId);
Description
Retrieves the ID of the next railDef object associated with the specified row object from the generator with the given pState. ID of the backgroundDef is returned in pRailDefId.
Arguments
|
ID of the next railDef object associated with the specified row object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGetRow
Boolean
dbGetRow( dbRowIdrowId, String *rowName, dbPoint *origindbOrient *orient, dbSiteDefId *pSiteDefId, dbOrient *siteOrient, uint32_t *numSites);
Description
Returns the attributes for the specified row object in the output parameters rowName, origin, orient, pSiteDefId, siteOrient and numSites.
Arguments
|
Pointer to the orientation of the site which is associated with the row object. |
|
Return Values
dbStartGenRowToCompTypeSetDef
dbGenStateId
dbStartGenRowToCompTypeSetDef(
dbRowId rowId
);
Description
Initializes a generator for all compTypeSetDef objects associated with the specified row object. A generator state ID is returned, which is used with the dbGenRowToCompTypeSetDef function.
Arguments
Return Value
dbGetRowName
String
dbGetRowName(
dbRowId rowId
);
Description
Returns the name for the specified row object.
Arguments
Return Values
dbGetRowNumSites
Boolean
dbGetRowNumSites( dbRowIdrowId, uint32_t*numSites);
Description
Returns the number of sites for the row object specified by rowId via the output parameter numSites.
Arguments
Return Values
|
|
dbGetRowSiteOrient
Boolean
dbGetRowSiteOrient( dbRowIdrowId, dbOrient*rowSiteOrient);
Description
Returns the site orientation of the specified row.
Arguments
Return Values
|
|
dbGetRowOrient
Boolean
dbGetRowOrient( dbRowIdrowId, dbOrient*orient);
Description
Returns the orient attribute for the row specified in rowId.
Arguments
Return Values
|
|
dbGetRowOrigin
Boolean
dbGetRowOrigin( dbRowIdrowId, dbPoint*rowOrigin);
Description
Returns the origin for the specified row.
Arguments
Return Values
|
|
dbGetRowRowHeader
dbRowHeaderId
dbGetRowRowHeader(
dbRowId rowId
);
Description
Returns the rowHeader associated with the specified row.
Arguments
Return Values
dbGetRowSiteDef
techSiteDefId
dbGetRowSiteDef(
dbRowId rowId
);
Description
Returns the siteDef associated with the specified row.
Arguments
Return Values
dbGetRowSiteDefName
String
dbGetRowSiteDefName(
dbRowId rowId
);
Description
Returns the name of the siteDef associated with the specified row object.
Arguments
Return Values
|
Returns the name of the siteDef for the specified row object. |
dbGetRowSiteOrient
Boolean
dbGetRowSiteOrient( dbRowIdrowId, dbOrient*rowSiteOrient);
Description
Returns the site orientation of the specified row.
Arguments
Return Values
dbGetRowUtilization
double
dbGetRowUtilization(
dbRowId rowId
);
Description
Returns the placement utilization attribute for the specified row.
Arguments
Return Values
dbIsRowBound
Boolean
dbIsRowBound(
dbRowId rowId
);
Description
Checks if the siteDef associated with the row is currently bound to the master.
Arguments
Return Values
|
|
dbIsRowId
Boolean
dbIsRowId(
dbRowId rowId
);
Description
Verifies that the specified rowId refers to a valid row object.
Arguments
Return Values
|
|
dbRemoveRowBackgroundDef
Boolean
dbRemoveRowBackgroundDef( dbRowIdrowId, dbIdbackgroundDef);
Description
Removes the specified placement backgroundDef from the specified row.
Arguments
Return Value
dbRemoveRowCompTypeSetDef
Boolean
dbRemoveRowCompTypeSetDef( dbRowIdrowId,dbIddbCompTypeSetDefId);
Description
Removes the specified placement compTypeSetDef from the specified row.
Arguments
Return Value
dbRemoveRowRailDef
Boolean
dbRemoveRowRailDef( dbRowIdrowId,dbIdrailDefId);
Description
Removes the specified placement railDef from the specified row.
Arguments
Return Value
dbSetRowName
Boolean
dbSetRowName( dbRowIdrowId, StringrowName);
Description
Sets given name for the specified row object.
Arguments
Return Values
dbSetRowNumSites
Boolean
dbSetRowNumSites( dbRowIdrowId, uint32_tnumSites);
Description
Sets the number of sites for the specified row object.
Arguments
|
Number of sites associated with the row to be set for the row object. |
Return Values
dbSetRowOrient
Boolean
dbSetRowOrient( dbRowIdrowId, dbOrientorient);
Description
Sets the orient attribute for the specified row object.
Arguments
|
For more information, see dbOrient. |
Return Values
dbSetRowOrigin
Boolean
dbSetRowOrigin( dbRowIdrowId, dbPointorigin);
Description
Sets the origin attribute for the specified row object.
Arguments
Return Value
dbSetRowSiteDef
Boolean
dbSetRowSiteDef( dbRowIdrowId, techSiteDefIdsiteDefId);
Description
Sets the siteDef for the specified row object.
Arguments
Return Value
dbSetRowSiteOrient
Boolean
dbSetRowOrient( dbRowIdrowId, dbOrientsiteOrient);
Description
Sets the orientation of the site associated with the specified row object.
Arguments
Return Values
dbSetRowUtilization
Boolean
dbSetRowUtilization( dbRowIdrowIddoubleutilization);
Description
Sets the placement utilization attribute for the specified row.
Arguments
|
Placement utilization attribute to be associated with the row object. |
Return Value
dbStartGenRow
dbGenStateId
dbStartGenRow(
dbCellViewId cellViewId
);
Description
Initializes a generator for all rows in the specified cellview. A generator state ID is returned, which is used with the dbGenRow function.
Arguments
Return Value
dbStartGenRowHeaderToRow
dbGenStateId
dbStartGenRowHeaderToRow(
dbRowHeaderId rowHeaderId
);
Description
Initializes a generator for all rows associated with the specified rowHeader. A generator state ID is returned, which is used with the dbGenRowToBackgroundDef function.
Arguments
Return Value
dbStartGenRowToBackgroundDef
dbGenStateId
dbStartGenRowToBackgroundDef(
dbRowId rowId
);
Description
Initializes a generator for all backgroundDefs associated with the specified row. A generator state ID is returned, which is used with the dbGenRowToBackgroundDef function.
Arguments
Return Value
dbStartGenRowToRailDef
dbGenStateId
dbStartGenRowToRailDef(
dbRowId rowId
);
Description
Initializes a generator for all railDefs associated with the specified row object. A generator state ID is returned, which is used with the dbGenRowToRailDef function.
Arguments
Return Value
Row Region Specification Functions
- dbCreateRowRegionSpec
- dbDeleteRowRegionSpec
- dbFindRowRegionSpec
- dbGenRowRegionSpecs
- dbGenRowRegionSpecToRowRegion
- dbGetRowRegionSpecGrids
- dbGetRowRegionSpecHeight
- dbGetRowRegionSpecName
- dbGetRowRegionSpecOffsets
- dbGetRowRegionSpecRelSnapPattern
- dbGetRowRegionSpecRowAttrs
- dbSetRowRegionSpecGrids
- dbSetRowRegionSpecHeight
- dbSetRowRegionSpecOffset
- dbSetRowRegionSpecRelSnapPattern
- dbSetRowRegionSpecRowAttrs
- dbStartGenRowRegionSpecs
- dbStartGenRowRegionSpecToRowRegion
dbCreateRowRegionSpec
dbRowRegionSpecId
dbCreateRowRegionSpec( dbCellViewIdcellViewId, constStringname, unsigned intheight, dbPlaceRowAttrData *placeRowAttrs, unsigned intnumPlaceRowAttrs, constStringxRefName, constStringyRefName, intxOffset, intyOffset, constStringrelSPName);
Description
Creates a rowRegionSpec in the specified cellview.
A rowRegionSpec describes a list of rows, where each row can be either a dbRow or a dbPlaceArea:
Arguments
|
Height of one complete instance of the rowRegionSpec used to create one row. |
|
|
Array of structs with the placement row attributes. Each array entry describes one row. For more information, see dbPlaceRowAttrData. |
|
|
List of the offsets from the reference grids in X direction. |
|
|
List of the offsets from the reference grids in Y direction. |
|
Return Value
dbDeleteRowRegionSpec
Boolean
dbDeleteRowRegionSpec(
dbRowRegionSpecId rowRegionSpec
);
Description
Deletes a rowRegionSpec object with the specified database ID.
Arguments
Return Value
dbFindRowRegionSpec
dbRowRegionSpecId
dbFindRowRegionSpec( dbCellViewIdcellViewId, constStringname);
Description
Searches for a rowRegionSpec with the specified name in the given cellview.
Arguments
Return Value
|
Database ID of the searched rowRegionSpec, if found. Otherwise, returns dbcNullId. |
dbGenRowRegionSpecs
Boolean
dbGenRowRegionSpecs( dbGenStateIdstateId, dbRowRegionSpecId *objId);
Description
Retrieves the ID of the next rowRegionSpec object from the generator with the given stateId. ID of the rowRegionSpec object is returned in objId.
Arguments
|
ID of the next rowRegionSpec object produced by the generator. This value is undefined if FALSE is returned. |
Return Value
|
|
dbGenRowRegionSpecToRowRegion
Boolean
dbGenRowRegionSpecToRowRegion( dbGenStateIdstateId, dbRowRegionId *objId);
Description
Retrieves the ID of the next rowRegion object associated with a given rowRegionSpec from the generator with the given stateId. ID of the rowRegion object is returned in objId.
Arguments
|
ID of the next rowRegion object associated with a given rowRegionSpec produced by the generator. This value is undefined if FALSE is returned. |
Return Value
dbGetRowRegionSpecGrids
Boolean
dbGetRowRegionSpecGrids( dbRowRegionSpecIdobjId, String *refGridX, String *refGridY);
Description
Returns the reference grid of the specified rowRegionSpec in the X and Y direction.
Arguments
|
Pointer to the reference grid of the rowRegionSpec in X direction. |
|
|
Pointer to the reference grid of the rowRegionSpec in Y direction |
Return Values
dbGetRowRegionSpecHeight
unsigned int
dbGetRowRegionSpecHeight(
dbRowRegionSpecId objId
);
Description
Returns the height of the specified rowRegionSpec.
Arguments
Return Values
dbGetRowRegionSpecName
String
dbGetRowRegionSpecName(
dbRowRegionSpecId objId
);
Description
Returns the name of the specified rowRegionSpec.
Arguments
Return Values
dbGetRowRegionSpecOffsets
Boolean
dbGetRowRegionSpecOffsets( dbRowRegionSpecIdobjId, int *offsetX, int *offsetY);
Description
Returns the reference grid offset of the specified rowRegionSpec in the X and Y direction.
Arguments
|
Pointer to the reference grid offset of the rowRegionSpec in X direction. |
|
|
Pointer to the reference grid offset of the rowRegionSpec in Y direction |
Return Values
dbGetRowRegionSpecRelSnapPattern
Boolean
dbGetRowRegionSpecRelSnapPattern( dbRowRegionSpecIdobjId, String *relSnapPattern);
Description
Returns the relatedSnapPattern name of the specified rowRegionSpec.
Arguments
|
Pointer to the relatedSnapPattern name of the rowRegionSpec. |
Return Values
dbGetRowRegionSpecRowAttrs
Boolean
dbGetRowRegionSpecRowAttrs( dbRowRegionSpecIdobjId, dbPlaceRowAttrData **attrArray, unsigned int *numAttrs);
Description
Returns the placement row attributes of the specified rowRegionSpec.
Arguments
|
Pointer to the memory area where the array of placement row attributes is placed. |
|
Return Values
dbSetRowRegionSpecGrids
Boolean
dbSetRowRegionSpecGrids( dbRowRegionSpecIdobjId, constStringrefGridX, constStringrefGridY);
Description
Sets the reference grid for the specified rowRegionSpec in the X and Y direction.
Arguments
|
Pointer to the reference grid of the rowRegionSpec in X direction. |
|
|
Pointer to the reference grid of the rowRegionSpec in Y direction |
Return Values
|
|
dbSetRowRegionSpecHeight
Boolean
dbSetRowRegionSpecHeight( dbRowRegionSpecIdobjId, unsigned intheight);
Description
Sets the height for the specified rowRegionSpec.
Arguments
Return Values
|
|
dbSetRowRegionSpecOffset
Boolean
dbSetRowRegionSpecOffset( dbRowRegionSpecIdobjId, intoffsetX, intoffsetY);
Description
Sets the reference grid offset for the specified rowRegionSpec in the X and Y direction.
Arguments
Return Values
|
|
dbSetRowRegionSpecRelSnapPattern
Boolean
dbSetRowRegionSpecRelSnapPattern( dbRowRegionSpecIdobjId, constStringrelSnapPattern);
Description
Sets the relatedSnapPattern name for the specified rowRegionSpec.
Arguments
Return Values
|
|
dbSetRowRegionSpecRowAttrs
Boolean
dbSetRowRegionSpecRowAttrs( dbRowRegionSpecIdobjId, dbPlaceRowAttrData *attrArray, unsigned intnumAttrs);
Description
Sets the placement row attributes for the specified rowRegionSpec.
Arguments
|
Pointer to the memory area where the array of placement row attributes is placed. |
|
|
Pointer to the memory area where the number of placement row attributes is placed. |
Return Values
dbStartGenRowRegionSpecs
dbGenStateId
dbStartGenRowRegionSpecs(
dbCellViewId cellViewId
);
Description
Initializes a generator for all rowRegionSpec objects in the specified cellview. A generator state ID is returned, which is used with the dbGenRowRegionSpecs function.
Arguments
Return Value
dbStartGenRowRegionSpecToRowRegion
dbGenStateId
dbStartGenRowRegionSpecToRowRegion(
dbRowRegionSpecId specId
);
Description
Initializes a generator for all rowRegion objects associated with the specified rowRegionSpec. A generator state ID is returned, which is used with the dbGenRowRegionSpecToRowRegion function.
Arguments
dbGetRowRegionSpecPlaceCells
Boolean
dbGetRowRegionSpecPlaceCells( dbRowRegionSpecIdspecId, dbPlaceCellsAttrData *attrs);
Description
Returns the placeCells attributes of the specified rowRegionSpec.
Arguments
|
Pointer to the placeCells attribute name of the rowRegionSpec. For more information, see dbPlaceCellsAttrData. |
Return Values
|
|
dbSetRowRegionSpecPlaceCells
Boolean
dbSetRowRegionSpecPlaceCells( dbRowRegionSpecIdspecId, dbPlaceCellsAttrData*attrs);
Description
Sets the placeCells attributes for the specified rowRegionSpec.
Arguments
|
Pointer to the placeCells attribute name of the rowRegionSpec. |
dbFreePlaceCellsListAttr
void
dbFreePlaceCellsListAttr(
dbPlaceCellsAttrData *attrs
);
Description
Deallocates the memory allocated for an array of placeCells objects.
Arguments
Return Value
Row Region Functions
A rowRegion is a figGroup that is created and edited on the canvas. It references a rowRegionSpec.
A rowRegion should match its corresponding rowRegionSpec. However, if the rowRegionSpec is modified, all the rowRegions that reference it will no longer match their specification. In this case, you need to use the function to rebuild the rowRegion to match its specification.
- dbAttachRowRegionToPRBoundary
- dbCreateRowRegion
- dbDetachPRBoundaryFromRowRegion
- dbFindRowRegion
- dbFlattenRowRegion
- dbGenRowRegionPlaceRows
- dbGenRowRegions
- dbGetRowRegionAttachedToPRBoundary
- dbGetRowRegionPoints
- dbGetRowRegionRowRegionSpec
- dbGetRowRegionUsesPartialRowSpec
- dbIsRowRegion
- dbIsRowRegionAttachedToPRBoundary
- dbRebuildRowRegion
- dbRowRegionMatchesSpec
- dbSetRowRegionPoints
- dbSetRowRegionRowRegionSpec
- dbSetRowRegionUsesPartialRowSpec
- dbStartGenRowRegionPlaceRows
- dbStartGenRowRegions
dbAttachRowRegionToPRBoundary
Boolean
dbAttachRowRegionToPRBoundary(
dbRowRegionId rowRegionId
);
Description
Attaches the PRBoundary to the specified rowRegion. Error occurs if the containing cellview does not have a PRBoundary.
Arguments
Return Values
|
|
dbCreateRowRegion
dbRowRegionId
dbCreateRowRegion( dbCellViewIdcellViewId, constStringname, dbRowRegionSpecIdrowRegionSpecId, unsigned intnumPoints, dbPoint *pointArray, BooleanisPartialRowSpec, dbOrientorientation);
Description
Creates a rowRegion object in the specified cellview.
Arguments .
|
Database ID of the rowRegionSpec object to be used to create the rowRegion object. |
|
|
Number of points in pointArray that define the areaBoundary enclosing the rowRegion. |
|
|
Boolean specifying whether the fill space of rowRegion should be populated with partial specialization of rowRegionSpec. |
|
|
Orientation of the rowRegion object. For more information, see dbOrient. |
Return Value
dbRowRegionPointsCutOut
Boolean
dbRowRegionPointsCutOut( dbRowRegionIdrowRegionId, dbBBox*box);
Description
Changes the rectilinear specification of the specified rowRegion by cutting out the portion of it defined by the specified box. The box cannot fully cover the current rowRegion and it cannot split it into two or more fully independent rowRegions.
Arguments
Value Returned
dbDetachPRBoundaryFromRowRegion
Boolean
dbDetachPRBoundaryFromRowRegion(
dbPRBoundaryId prBoundaryId
);
Description
Removes the rowRegion attached to the specified PRBoundary. Error occurs if the no rowRegion is attached to the PRBoundary.
Arguments
Return Values
|
|
dbFindRowRegion
dbRowRegionId
dbFindRowRegion( dbCellViewIdcellViewId, constStringname);
Description
Searches for a rowRegion with the specified name in the given cellview.
Arguments
Return Value
|
Database ID of the searched rowRegion, if found. Otherwise, returns dbcNullId. |
dbFlattenRowRegion
Boolean
dbFlattenRowRegion(
dbId rowRegionId
);
Description
Flattens the rowRegion by removing information related to the associated figGroup and areaBoundary, and retaining information related to rows and other shapes.
Arguments
Return Value
dbGenRowRegionPlaceRows
Boolean
dbGenRowRegionPlaceRows( dbGenStateIdstateId, dbId *placeRowId);
Description
Retrieves ID of the next placement row associated with the rowRegion from the generator with the given stateId. ID of the rowRegion object is returned in placeRowId.
Arguments
|
ID of the next placeRow object associated with a given rowRegion produced by the generator. This value is undefined if FALSE is returned. |
Return Value
dbGenRowRegions
Boolean
dbGenRowRegions( dbGenStateIdstateId, dbId *rowRegionId);
Description
Retrieves the ID of the next rowRegion object from the generator with the given stateId. ID of the rowRegion object is returned in rowRegionId.
Arguments
|
ID of the next rowRegion object produced by the generator. This value is undefined if FALSE is returned. |
dbGetRowRegionAttachedToPRBoundary
dbRowRegionId
dbGetRowRegionAttachedToPRBoundary(
dbPRBoundaryId prBoundaryId
);
Description
Returns the rowRegion object that is attached to the specified PRBoundary.
Arguments
|
Pointer to the reference grid of the rowRegionSpec in X direction. |
|
|
Pointer to the reference grid of the rowRegionSpec in Y direction |
Return Values
|
Database ID of the rowRegion object that is attached to the specified PRBoundary. Otherwise, returns NULL. |
dbGetRowRegionPoints
Boolean
dbGetRowRegionPoints( dbIdrowRegionId, unsigned int *numPoints, dbPoint **pointArray);
Description
Returns the points that define the areaBoundary enclosing the rowRegion
Arguments
Return Value
dbGetRowRegionRowRegionSpec
dbRowRegionSpecId
dbGetRowRegionRowRegionSpec(
dbId rowRegionId
);
Description
Returns the rowRegionSpec from which the specified rowRegion was generated.
Arguments
Return Value
|
Database ID of the rowRegionSpec from which the specified rowRegion was generated. |
dbGetRowRegionUsesPartialRowSpec
Boolean
dbGetRowRegionUsesPartialRowSpec(
dbId rowRegionId
);
Description
Confirms whether the fill space of rowRegion should be populated with partial specialization of rowRegionSpec.
Arguments
Return Value
|
|
dbIsRowRegion
Boolean
dbIsRowRegionSpec(
dbId objId
);
Description
Checks if the specified database object is a rowRegion.
Arguments
Return Values
dbIsRowRegionAttachedToPRBoundary
Boolean
dbIsRowRegionAttachedToPRBoundary(
dbId rowRegionId
);
Description
Checks if the specified rowRegion is attached to PRBoundary.
Arguments
Return Values
dbRebuildRowRegion
Boolean
dbRebuildRowRegion(
dbId rowRegionId
);
Description
Removes contents of the specified rowRegion and then regenerates it based on the rowRegionSpec associated with it.
Arguments
Return Values
dbRowRegionMatchesSpec
Boolean
dbRowRegionMatchesSpec(
dbId rowRegionId
);
Description
Checks whether the rowRegion matches its rowRegionSpec.
A rowRegion does not matches its rowRegionSpec when one of the following is true:
- The rowRegionSpec is modified after the rowRegion is created. In this case, the rowRegion should be rebuilt to match it with the new rowRegionSpec.
- The row region is modified out of context. For example, one of its rows is modified in an older version of Virtuoso.
Arguments
Return Values
|
|
dbSetRowRegionPoints
Boolean
dbSetRowRegionPoints( dbIdrowRegionId, unsigned intnumPoints, dbPoint*pointArray);
Description
Changes the rectilinear specification of the given rowRegion.
Arguments
Return Values
dbSetRowRegionRowRegionSpec
Boolean
dbSetRowRegionRowRegionSpec( dbIdrowRegionId, dbRowRegionSpecIdrowRegionSpecId);
Description
Sets the given rowRegionSpec as the template for the specified rowRegion.
Arguments
Return Values
|
|
dbSetRowRegionUsesPartialRowSpec
Boolean
dbSetRowRegionUsesPartialRowSpec( dbIdrowRegionId, Booleanvalue);
Description
A Boolean indicating whether the population of rowRegion is set to fill the space with partial specialization of rowRegionSpec.
Arguments
|
A Boolean that determines whether rowRegion should be set to use partial specialization of rowRegionSpec. |
Return Values
|
|
dbStartGenRowRegionPlaceRows
dbGenStateId
dbStartGenRowRegionPlaceRows(
dbRowRegionId rowRegionId
);
Description
Initializes a generator for all placement rows scoped to the given rowRegion object. A generator state ID is returned, which is used with the dbStartGenRowRegionPlaceRows function.
Arguments
Return Value
dbStartGenRowRegions
dbGenStateId
dbStartGenRowRegions(
dbCellViewId cellViewId
);
Description
Initializes a generator for all rowRegion objects. A generator state ID is returned, which is used with the dbGenRowRegions function.
Arguments
Miscellaneous Functions
- dbGetPlaceRowSoftwareVersion
- dbGetPlaceRowDataVersion
- dbGetRowRegionDataVersion
- dbGetRowRegionSoftwareVersion
- dbIsImplicit
- dbIsInRowRegion
dbGetPlaceRowSoftwareVersion
unsigned int
dbGetPlaceRowSoftwareVersion( );
Description
Returns the software version of the placement row infrastructure in the given design.
Arguments
None
Return Value
dbGetPlaceRowDataVersion
unsigned int
dbGetPlaceRowDataVersion(
dbCellViewId cellViewId
);
Description
Returns the data version of the placement row infrastructure in the given design in the specified cellview.
Arguments
Return Value
|
Data version of the placement row infrastructure used in the specified cellview. |
dbGetRowRegionDataVersion
unsigned int
dbGetRowRegionDataVersion(
dbCellViewId cellViewId
);
Description
Returns the data version of the row region infrastructure in the given design in the specified cellview.
Arguments
Return Value
|
Data version of the row region infrastructure used in the specified cellview. |
dbGetRowRegionSoftwareVersion
unsigned int
dbGetRowRegionSoftwareVersion( );
Description
Returns the software version of the row region in the given design.
Arguments
None
Return Value
dbIsImplicit
Boolean
dbIsImplicit(
dbId objId
);
Description
Verifies whether the object represented by the specified database ID is implicit. Supported objects: dbRailDef, dbBackgroundDef and dbCompTypeSetDef.
An implicit object is owned by a rowRegion. Implicit objects cannot be modified directly. However, they can be modified indirectly by changing their corresponding attributes in the rowRegionSpec. Otherwise, the rowRegion can be flattened and the objects owned by the rowRegion are no longer implicit.
Arguments
Return Value
dbIsInRowRegion
Boolean
dbIsInRowRegion(
dbFigId figId
);
Description
Checks if a figure with the given figure database ID belongs to a rowRegion.
Arguments
Return Value
Return to top