Library

Overview

class spydrnet.Library(name=None, properties=None)

Methods

Library.__init__([name, properties])

creates an empty object of type Library

Library.netlist

Get the netlist that contains this library

Library.definitions

Return a list of all the definitions that are included in this library

Library.create_definition([name, properties])

Create a definition, add it to the library, and return the definition

Library.add_definition(definition[, position])

Add an existing definition to the library.

Library.remove_definition(definition)

Remove the given definition from the library.

Library.remove_definitions_from(definitions)

Remove a set of definitions from the library.

Library.clone()

Clone the library in an API safe manner.

Library.get_netlists(...)

Shortcut to get_netlists().

Library.get_libraries(...)

Shortcut to get_libraries().

Library.get_definitions(...)

Shortcut to get_definitions().

Library.get_instances(...)

Shortcut to get_instances().

Library.get_ports(...)

Shortcut to get_ports().

Library.get_pins(...)

Shortcut to get_pins().

Library.get_cables(...)

Shortcut to get_cables().

Library.get_wires(...)

Shortcut to get_wires().

Library.get_hinstances(...)

Shortcut to get_hinstances().

Library.get_hports(...)

Shortcut to get_hports().

Library.get_hpins(...)

Shortcut to get_hpins().

Library.get_hcables(...)

Shortcut to get_hcables().

Library.get_hwires(...)

Shortcut to get_hwires().