memea::lef

Function lefin

Source
pub fn lefin(verbose: bool) -> Result<(), MemeaError>
Expand description

Interactive LEF file processing workflow.

This function provides an interactive command-line interface for processing LEF files and creating component databases. It prompts the user for:

  • GDS file (optional, for enclosure computation)
  • LEF file (required, for cell dimensions)
  • Output database file (YAML or JSON format)

§Arguments

  • verbose - Whether to show detailed processing information

§Returns

  • Ok(()) - LEF processing completed successfully
  • Err(MemeaError) - File I/O error, parsing error, or user interaction error

§Examples

use memea::lef::lefin;

// Start interactive LEF processing
lefin(true).expect("LEF processing failed");