Expand description
Standard parasitics exchange format (SPEF) parser.
How to use
See SPEF::parse_str
.
We also support transforming a SPEF object to a SPEF source
code, by using std::fmt::Display
.
Misc
This parser obeys the IEEE 1481-1998 standard, with some notable exceptions (to be addressed in future work):
- prefix bus delimiter
:
,.
unsupported (because they interfere with hchar.), and empty suffix bus delimiter is unsupported yet. - sensitivity is unsupported in cap and res defs. and slew threshold is unsupported in conn attr.
- Pi model is unsupported.
Structs
- Hierarchical name.
- SPEF main struct. It contains headers, top ports, and nets.
- A piece of connectivity information in SPEF.
- SPEF header (from
*SPEF
to*L_UNIT
). - Port or pin reference.
- A net in SPEF.
- A capacitance entry of a net.
- A connection entry of a net.
- A resistance entry of a net.
- A port in SPEF.
Enums
- Direction in SPEF.
- It seems this means min, nominal, and max.