bindPermuteRules
layoutXL bindPermuteRules string "permuteRule"
Description
Provides an alternative method for defining a permute rule for cells that are symmetric and have terminals that can be permuted. The environment variable can be useful for defining permute rules in situations when the Edit CDF Simulation Information section of auLvs is not editable for some reason. The permute rules set using the bindPermuteRules environment variable can only be used for binding, Update Binding, and for checking Layout XL compliance.
GUI Equivalent
Examples
envGetVal("layoutXL" "bindPermuteRules")
envSetVal("layoutXL" "bindPermuteRules" 'string "(lib1 cell1 (p D S))(lib2 cell2 (p MINUS PLUS))")
Additional Information
The bindPermuteRules environment variable does not support setting permute rules for device terminals such as for abutment. For setting permute rules on device terminals, you must set the CDF permuteRule. Below is an example that illustrates how CDF permuteRule can be added to the .cdsinit file.
procedure( testSetCellCDFPermuteRule(lib cell permuteRule)
let( (cellId cdf)
if( lib && cell && permuteRule then
cellId = ddGetObj(lib cell)
cdf = cdfGetBaseCellCDF(cellId)
cdf->simInfo->auLvs->permuteRule = permuteRule
t
)
)
)
testSetCellCDFPermuteRule("lib” “cell1” “(p X Y)”)
testSetCellCDFPermuteRule(“lib” “cell2” “(p D S)”)
…
Related Topics
Design Check for Layout XL Compliance
List of Layout XL Environment Variables
Return to top