Netlist

Overview

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

Methods

Netlist.__init__([name, properties])

creates an empty object of type netlist

Netlist.compose(*args, **kwargs)

Compose a netlist into a file format.

Netlist.libraries

Get a list of all libraries included in the netlist.

Netlist.top_instance

Get the top instance in the netlist.

Netlist.create_library([name, properties])

Create a library and add it to the netlist and return that library

Netlist.add_library(library[, position])

add an already existing library to the netlist.

Netlist.remove_library(library)

Removes the given library if it is in the netlist

Netlist.remove_libraries_from(libraries)

Removes all the given libraries from the netlist.

Netlist.clone()

API safe clone on a netlist.

Netlist.get_netlists(...)

Shortcut to get_netlists().

Netlist.get_libraries(...)

Shortcut to get_libraries().

Netlist.get_definitions(...)

Shortcut to get_definitions().

Netlist.get_instances(...)

Shortcut to get_instances().

Netlist.get_ports(...)

Shortcut to get_ports().

Netlist.get_pins(...)

Shortcut to get_pins().

Netlist.get_cables(...)

Shortcut to get_cables().

Netlist.get_wires(...)

Shortcut to get_wires().

Netlist.get_hinstances(...)

Shortcut to get_hinstances().

Netlist.get_hports(...)

Shortcut to get_hports().

Netlist.get_hpins(...)

Shortcut to get_hpins().

Netlist.get_hcables(...)

Shortcut to get_hcables().

Netlist.get_hwires(...)

Shortcut to get_hwires().