#parser #str #source #display #object #spef #parasitics

bin+lib spefparse

SPEF parasitics parser

5 releases

0.2.1 Aug 31, 2023
0.2.0 Apr 30, 2023
0.1.2 Nov 2, 2022
0.1.1 Sep 29, 2022
0.1.0 Sep 27, 2022

#46 in #str


Used in stagraph

AGPL-3.0-only

31KB
731 lines

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):

  1. prefix bus delimiter :, . unsupported (because they interfere with hchar.), and empty suffix bus delimiter is unsupported yet.
  2. sensitivity is unsupported in cap and res defs. and slew threshold is unsupported in conn attr.
  3. Pi model is unsupported.

Dependencies

~5–14MB
~146K SLoC