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

cphSbDefineSoftBlock

cphSbDefineSoftBlock(
g_cphId
t_PhysLibName
t_PhysCellName
t_PhysViewName
[ ?logLib   t_logicalLibName ]
[ ?logCell t_logicalCellName ]
[ ?logView t_logicalViewName ]
[ ?viewList t_inhViewList ]
[ ?stopList  t_inhStopViewList ]
[ ?bType t_btype ]
[ ?type t_type  ]
)
=> x_softBlockID / nil

Description

Defines a soft block for a given physical and logical lib:cell:view. The initial I/O pins for the soft block are automatically generated and attributes are set as per the .cdsenv environment variables.

Arguments

g_cphId

ID of the physical configuration cellview.

t_PhysLibName, t_PhysCellName, t_PhysViewName

The physical ("lib" "cell" "view") to which the logical ("lib" "cell" "view") needs to be associated.

?logLib t_logicalLibName, ?logCell t_logicalCellName, ?logView t_logicalViewName

The logical ("lib" "cell" "view") from which soft block attributes need to be retrieved.

?viewList t_inhViewList

The design views that will be used to descend into the hierarchical design until stop views are found. The default value is “schematic symbol”.

?stopList t_inhStopViewList

The stop view list. While descending the hierarchical design, the command stops if any of the specified views, such as layout or abstract views, are found in this viewlist.

?bType t_btype

Type of block to be generated. Valid values are "CUSTOM" and "DIGITAL". The default value is "CUSTOM". This argument is case-insensitive. The block type influences the snapping of PR Boundary and pins during level-1 editing as follows:

CUSTOM - Pin edges and PR Boundary are snapped to the manufacturing grid.

DIGITAL - Pin centers are snapped to the routing grid and the PRBoundary is snapped to the placement grid.

?type t_type

Specifies whether a softMacro or blockBlackBox needs to be generated. By default, a softMacro is generated.

Valid values are "LAYOUT", which is the default value, and "ABSTRACT". This argument is case-insensitive.

Value Returned

x_softBlockID

ID of the soft block that was created

nil

The soft block was not created.

Examples

sbId = cphSbDefineSoftBlock(cphId "phys_lib_name" "phys_cell_name" "phys_view_name" ?logLib "logical_lib_name" ?logCell "logical_cell_name" ?logView "logical_view_name")
sbId = cphSbDefineSoftBlock(cphId "design" "block"  "layout" ?logLib "design"  ?logCell "block"  ?logView "schematic" ?bType "CUSTOM" ?Type "LAYOUT")

Return to top
 ⠀
X