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§
- Hier
Name - Hierarchical name.
- SPEF
- SPEF main struct. It contains headers, top ports, and nets.
- SPEF
Conn Attr - A piece of connectivity information in SPEF.
- SPEF
Header - SPEF header (from
*SPEF
to*L_UNIT
). - SPEF
Hier Port PinRef - Port or pin reference.
- SPEFNet
- A net in SPEF.
- SPEF
NetCap - A capacitance entry of a net.
- SPEF
NetConn - A connection entry of a net.
- SPEF
NetRes - A resistance entry of a net.
- SPEF
Port - A port in SPEF.