dbGetViaLayerNumColorMasks
dbGetViaLayerNumColorMasks(d_viaId t_viaLayerType) =>t_layerName/ nil
Description
Returns the number of supported color masks for specified layer of the given via.
Arguments
Value Returned
|
Returns the number of supported color masks for the specified layer of the via. |
|
|
Returns |
Example
cv = dbOpenCellViewByType( "tech" "design" "layout" "maskLayout" "w" )
viaDef_M2_M1 = techFindViaDefByName( tf "M2_M1" )
via1t_m2_m1 = dbCreateVia( cv viaDef_M2_M1 10:10 "R0" )
techSetLayerNumColorMasks( tf "metal1" 3 )
techSetLayerNumColorMasks( tf "metal2" 8 )
dbGetViaLayerNumColorMasks( via1t_m2_m1 "layer1" )
=> 8
dbGetViaLayerNumColorMasks( via1t_m2_m1 "layer2" )
=> 3
dbGetViaLayer( via1t_m2_m1 "cutLayer" )
Return to top