Module libreda_lefdef::def_parser
source · Expand description
Parser for DEF (Design Exchange Format).
Structs
- Configuration for the DEF reader.
Enums
- Error while parsing LEF or DEF. TODO: Separate lexer errors from LEF/DEF specific errors.
Functions
- Parse a DEF file from byte stream.
- Parse a DEF file from byte stream.
- Parse a DEF file from an iterator over
chars. This callsread_def_with_config()with default configuration options. - Parse a DEF file from an iterator over
chars. - Parse a DEF file from an iterator over
chars. - Read a property name and a property value. Checks if the property is specified in the PROPERTYDEFINITIONS. If not, an error is returned and the property should be ignored.
- Read wiring statement. Tokens must start with one of COVER, FIXED, ROUTED or NOSHIELD.
- Read DEF VIAS - via declarations.