pdaExpressionXt

Structure

This element does not have elements. The attributes are shown below, in a sorted per type fashion.


<xsSetSBOffset  cpptype="..."  pdkSelect="..."  pytype="..."  spttype="..." ... > ... </xsSetSBOffset>

XSD

The schema file can be downloaded or viewed at xPDK_Base.

Details

Type pdaExpression


Expression need to be commonly evaluated by many software, so having a restricted set of math / types and so on is key. In PDAFlow lib2/expr there is a yacc/lex parser available with some unit support as well as double / complex expressions. An alternative is tinyexpr, but this is more restrictive, so may be very unhandy for things like waveguide model expressions.

cpptype

Type epCppType documentation: In some cases we need more specific types in the expressions, mostly the ops_* things. This is the type for C++ in those cases.

pdkSelect

Type pdkSelect documentation: Use in layout.xml's to have a single foundry database, where you select layer/xsection/.. sub-sets for a given PDK. This is typical from a lib directory with a layout_master.xml/h.

pytype

Type epSptType documentation: In some cases we need more specific types in the expressions, mostly the ops_* things. This is the type for spt in those cases.

spttype

Type epSptType documentation: