Library

Classes

class keysight.ads.de.Library
__init__(name: str) None

__init__ is deprecated, and will be removed in the 2025 Update 2 release. Use Library.get(name).

property attached_tech_lib_name: str
cell(cell_name: str) Cell
cell_exists(cell_name: str) bool
property cells: NamedItemCollectionAbc[Cell]

The collection of cells in this library.

A cell may be accessed by using the [] operator, indexed by the cell name.

close() None
static create(name: str, path: str | Path) Library
create_cell(cell_name: str) Cell
create_layout_tech_from_library(library: Library, copy_tech: bool = False) None
create_layout_tech_from_pdk(pdk: Library, copy_tech: bool = False) None
create_layout_tech_std_ads(unit_name: str, dbu_per_uu: int, copy_tech: bool = False) None
create_tech() Tech

Create technology for this library.

delete_cell(cell_name: str) None
delete_dm_data() None
delete_tech() None

Delete the technology in this library.

dm_data(mode: str) DMData
property forms: NamedMutableCollectionAbc[Form]
property formsets: NamedMutableCollectionAbc[Formset]
static get(name: str) Library
get_cell_if_exists(cell_name: str) Cell | None
get_layout_preference(index: LibSpecificPreference) PreferenceValueType

Use with de.experimental.preferences(): to work with preferences. The API is subject to change.

get_schematic_preference(index: LibSpecificPreference) PreferenceValueType

Use with de.experimental.preferences(): to work with preferences. The API is subject to change.

property has_attached_tech: bool

Return True if this library attaches technology from another library.

property has_dm_data: bool
property has_tech: bool

Return True if this library has technology or if it uses attached technology.

property is_an_ads_library: bool
property is_open: bool
property is_read_only: bool
property is_writable: bool
property lib_name: str
property lib_path: Path
module_name() str

Return the full name of the Python module for this Library.

Will raise an exception if this Library does not have a Python module.

property name: str
static open(name: str, path: str | Path, mode: LibraryMode = LibraryMode.READ_ONLY) Library
property path: Path
property physical_layer_names: list[str]
set_layout_preference(index: LibSpecificPreference, value: PreferenceValueType) None

Use with de.experimental.preferences(): to work with preferences. The API is subject to change.

set_schematic_preference(index: LibSpecificPreference, value: PreferenceValueType) None

Use with de.experimental.preferences(): to work with preferences. The API is subject to change.

setup_schematic_tech(interoperable: bool = False) None
property tech: Tech

Return the technology for this library (or raise an exception if none).

Enumerated Types

class keysight.ads.de.LibraryMode

Bases: Enum

An enumeration specifying the mode for how a library is to be opened.

SHARED = <LibraryMode.SHARED: 0>

Open the library for read-write, using lock files to support multiple processes concurrently using the library.

NON_SHARED = <LibraryMode.NON_SHARED: 1>

Open the library for read-write, with no lock files.

READ_ONLY = <LibraryMode.READ_ONLY: 2>

Open the library for read only.

UNKNOWN = <LibraryMode.UNKNOWN: -1>

No mode specified.

On this page