memea

Module lef

Source
Expand description

LEF file parsing and database creation for MemEA memory components.

This module provides functionality to parse Library Exchange Format (LEF) files and create component databases. It extracts cell dimensions from LEF files and optionally augments them with enclosure data from corresponding GDS layout files. The resulting data is saved as a component database for use in area estimation.

Enumsยง

  • Errors that can occur during LEF file parsing.

Functionsยง

  • add_cell ๐Ÿ”’
    Interactively adds a cell to the database with user confirmation and type selection.
  • Interactive LEF file processing workflow.
  • parse_size ๐Ÿ”’
    Parses width and height from a LEF SIZE line using regex.
  • read_lef ๐Ÿ”’
    Reads and processes a LEF file to create a component database.