Skip to content

load_lvs_results

load_lvs_results(
path, *, engine=None, load_shapes=True, timeout=None, show_progress=True
)

Read the results of an earlier layout-versus-schematic comparison.

A KLayout database is read with KLayout, as lvs_check reads the one it produces, so the executable must be available. Calibre’s files are read in compiled code, without Calibre, under the same license.

Args

  • path (str | PathLike): KLayout’s results database (.lvsdb). For Calibre, the directory lvs_check kept as results_file, any MASK SVDB DIRECTORY written with QUERY (its index files name the report and the extraction report, looked for in the run’s directory, then beside the database), or the LVS report alone (its extraction report, <path>.ext, is read when it exists).
  • engine (str | None): Verification engine, "klayout" or "calibre". None uses config.default_drc_lvs_engine, and when that is unset the first engine found.
  • load_shapes (bool): Include the layout geometry of each net (KLayout only).
  • timeout (float | None): Seconds allowed for the engine run.
  • show_progress (bool): Show the elapsed time while the engine runs.

Returns

verification.LVSResults: Verdict, circuit comparisons, and both netlists, with an empty log and exit_code 0.