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

mgGetDummyRefDirectionParams

mgGetDummyRefDirectionParams(
[ t_libName ]
[ t_cellName ]
[ t_paramName ]
)
=> l_registeredDummyDirectionalParams / nil

Description

Returns the first set of registered Modgen dummy directional parameters that match the specified library, cell, and parameter names.

Arguments

t_libName

Name or the library for which registered Modgen dummy directional parameters are to be retrieved.

If not specified, all registered directional parameters are listed.

t_cellName

Name of the cell for which registered Modgen dummy directional parameters are to be retrieved.

If not specified, all cell directional parameters that are registered for the given library are listed.

t_paramName

Name of the directional parameter for which the direction should be retrieved. The function returns the direction.

If the parameter name is not specified, the function returns a list of parameters registered to the first match of the library and cell name.

Value Returned

l_registeredDummyDirectionalParams

Depending on the specified arguments, the library, cell, and parameters of the first registered match are returned.

For example, if the library, cell, and parameter names are specified, only the direction of the parameter in the first registered match of the cell is returned.

nil

There are currently no registered directional parameters.

Example

Registers Modgen dummy directional parameters for different libraries and directions and then shows various ways to retrieve the parameters.

mgRegisterDummyParamsRefDirection("libName1" "NcellName" "Horizontal" list("width" "connectGates"))
mgRegisterDummyParamsRefDirection("libName1" "NcellName" "Vertical" list("fingers" "length"))
mgRegisterDummyParamsRefDirection("libName1" "P*" "Horizontal" list("width" "connectSD"))
mgRegisterDummyParamsRefDirection("libName1" "P*" "Vertical" list("fingers" "length"))
mgRegisterDummyParamsRefDirection("libName1" "N*" "Horizontal" list("width" "connectSD"))
mgRegisterDummyParamsRefDirection("libName1" "N*" "Vertical" list("fingers" "length"))
mgRegisterDummyParamsRefDirection("libName2" "*cellName" "Horizontal" list("width" "connectSD"))
mgRegisterDummyParamsRefDirection("libName2" "*cellName" "Vertical" list("fingers" "length"))
;; Retrieves the direction for this parameters
mgGetDummyRefDirectionParams("libName1" "PcellName" "width")
"Horiztonal"
;; Retrieves a DPL with list of all parameters for the given library and cell name
mgGetDummyRefDirectionParams("libName1" "NcellName2")
(nil Vertical ("fingers" "length") Horizontal ("connectGates" "width"))
;; Retrieves a list of DPLs for the given library name
mgGetDummyRefDirectionParams("libName1")
(("NcellName" 
    (nil Vertical 
    ("fingers" "length") Horizontal 
    ("connectGates" "width")
    )
) 
("P*" 
    (nil Vertical 
    ("fingers" "length") Horizontal 
    ("connectSD" "width")
    )
) 
("N*" 
    (nil Vertical 
    ("fingers" "length") Horizontal 
    ("connectSD" "width")
    )
)
)
;; Retrieves a list of lists of DPLs for all registered library names
mgGetDummyRefDirectionParams()
(("libName2" 
    (("*cellName" 
     (nil Vertical 
("fingers" "length") Horizontal
("connectSD" "width")
)
)
)
) ("libName1"     (("NcellName"      (nil Vertical
("fingers" "length") Horizontal
("connectGates" "width")
)
)
("P*"
(nil Vertical
("fingers" "length") Horizontal
("connectSD" "width")
)
)
("N*"
(nil Vertical
("fingers" "length") Horizontal
("connectSD" "width")
)
)
)
) ) ("libName1"     (("NcellName"      (nil Vertical
("fingers" "length") Horizontal
("connectGates" "width")
)
)
("P*"
(nil Vertical
("fingers" "length") Horizontal
("connectSD" "width")
)
)
("N*"
(nil Vertical
("fingers" "length") Horizontal
("connectSD" "width")
)
)
)
)
)

Related Topics

mgRegisterDummyParamsRefDirection

mgUnregisterDummyParamRefDirection


Return to top
 ⠀
X