cphSbSetRectangularBoundaryUsingUtil
cphSbSetRectangularBoundaryUsingUtil(
g_cphId
l_PhysLCV | g_sbId
n_util
s_mode
[ ?width n_width ]
[ ?height n_height ]
[ ?aspRatio n_aspRatio ]
[ ?area n_area ]
[ ?areaPerGate n_areaPerGate ]
[ ?gateCount x_gateCount ]
[ ?areaEstCallback t_areaEstCallback ]
)
=> t / nil
Description
Sets a rectangular boundary for the specified soft block with the specified area utilization. It is mandatory to specify any one of the three optional parameters: width, height, and aspRatio.
Arguments
|
g_cphId
|
ID of the physical configuration cellview.
|
|
g_sbId
|
ID of the soft block.
|
|
l_PhysLCV
|
List of ("lib" "cell" "view") triplets.
|
|
n_util
|
Area utilization for the soft block.
|
|
s_mode
|
Mode can take one of following three values to determine the parameters to be used when calculating the area.
-
manual: Only area will be taken along with one of the three optional parameters: width, height, and aspRatio
-
avgAreaPerGate: Only areaPerGate and gateCount will be taken along with one of the three optional parameters: width, height, and aspRatio
-
useEstimator: Only areaEstCallback will be taken along with one of the three optional parameters: width, height, and aspRatio
If any of the required parameters is found nil, an error will be thrown.
|
|
?width n_width
|
Width of the rectangular soft block.
|
|
?height n_height
|
Height of the rectangular soft block.
|
|
?aspRatio n_aspRatio
|
|
|
Aspect Ratio of the rectangular soft block.
|
|
?area n_area
|
Area of the rectangular soft block.
|
|
?areaPerGate n_areaPerGate
|
|
|
Area per gate of the rectangular soft block.
|
|
?gateCount x_gateCount
|
|
|
Total gate count of the rectangular soft block.
|
|
?areaEstCallback t_areaEstCallback
|
|
|
Area estimator callback function.
|
Value Returned
|
t
|
The rectangular boundary of the specified soft block has been set with specified area utilization.
|
|
nil
|
The command was unsuccessful.
|
Examples
Using the manual mode:
cphSbSetRectangularBoundaryUsingUtil(cphId sbB1 50 'manual ?width 20 ?area 5000)
Using the avgAreaPerGate mode:
cphSbSetRectangularBoundaryUsingUtil(cphId sbB2 50 'avgAreaPerGate ?height 20 ?areaPerGate 100 ?gateCount 50)
Using the useEstimator mode:
cphSbSetRectangularBoundaryUsingUtil(cphId sbB2 50 'useEstimator ?width 20 ?areaEstCallback "estAreaUsingLayoutPR")
Return to top