Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

cphSbDefineObstruction

cphSbDefineObstruction(
g_cphId
{ g_sbId | l_physLCV }
t_obstructionType
[ ?topOffset  n_topOffset ]
[ ?bottomOffset n_BottomOffset ]
[ ?leftOffset n_LeftOffset ]
[ ?rightOffset  n_RightOffset ]
[ ?layerName t_layerName ]
)
=> t / nil

Description

Creates placement, routing, or other obstructions based on the obstructionType argument. All conditions that are enforced for these obstructions through GUI-based flow are applicable here. For example, only one placement blockage is applied per soft block. If a second placement blockage is applied through this API, a warning is issued.

Arguments

g_cphId

ID of the physical configuration cellview

g_sbId

ID of the soft block

l_PhysLCV

List of ("lib" "cell" "view") triplets

t_obstructionType

Type of obstruction to be added. Valid values are: "placement", "routing", "fill", "slot", "pin", "feedthru", and "screen".

?topOffset n_topOffset

Top offset of the obstruction

?bottomOffset n_BottomOffset

Bottom offset of the obstruction

?leftOffset n_LeftOffset

Left offset of the obstruction

?rightOffset n_RightOffset

Right offset of the obstruction

?layerName t_layerName

Layer name. This argument is ignored when the obstructionType is “placement”.

Value Returned

t

The obstruction was created.

nil

The command was unsuccessful.

Example

cphSbDefineObstruction(cphId sbId "routing" ?topOffset 10 ?bottomOffset 10 ?rightOffset 10 ?leftOffset 10 ?layerName "metal1")

Return to top
 ⠀
X