Module def_parser

Module def_parser 

Source
Expand description

Parser for DEF (Design Exchange Format).

Structs§

DEFReaderConfig
Configuration for the DEF reader.

Enums§

LefDefParseError
Error while parsing LEF or DEF. TODO: Separate lexer errors from LEF/DEF specific errors.

Functions§

read_def_bytes
Parse a DEF file from byte stream.
read_def_bytes_with_config
Parse a DEF file from byte stream.
read_def_chars
Parse a DEF file from an iterator over chars. This calls read_def_with_config() with default configuration options.
read_def_chars_with_config
Parse a DEF file from an iterator over chars.
read_def_property
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.