Evaluates a Virtuoso parameterized/fixed-cell and returns its layout geometry data to FDTD/MODE.
Syntax |
Description |
---|---|
out=itkdbgetgeometry(inputs); |
Evaluates a Virtuoso layout parameterized/fixed-cell and returns its geometry data to FDTD/MODE. inputs: struct that contains the library information and optionally the design parameter list. The struct should contain the information of:
For a fixed-cell, this command returns its default geometry data. For a parameterized-cell, this command returns its geometry data for the given design parameters; if paramList is not provided, the command returns geometry data for the default design. The return geometry data is a struct that includes:
|
Example
This example evaluates the geometry data for the "wgStraight" component in the "gopdk" library using specified design parameters.
cdsLib = pwd+"/cds.lib";
libName = "gopdk";
cellName = "wgStraight";
viewName = "layout";
paramList=struct;
paramList.rotation="90";
paramList.fullLayout="yes";
paramList.length="20.0u";
paramList.width="0.50u";
paramList.designIntentLayer="waveguide";
layout = itkdbgetgeometry({"cdsLib":cdsLib,
"libName":libName,
"cellName":cellName,
"viewName":viewName,
"paramList":paramList}
);
# show polygon data
?layout.polygons{1}.layer;
?layout.polygons{1}.purpose;
?layout.polygons{1}.points{1};
# show pin data
?layout.pins{1}.layer;
?layout.pins{1}.purpose;
?layout.pins{1}.name;
?layout.pins{1}.photonicAngle;