Skip to content

netlist_carpentry.core

The core package of Netlist Carpentry.

The whole internal structure can be found here, completely irrespective of the input format. All data structures (from toplevel class Circuit) down to basic elements (WireSegment, i.e. a slice of a wire) and meta-elements (classes like Signal mimicking a signal state or Direction for handling port directions) can be found here.

Modules:

  • circuit

    Base module for the Circuit class.

  • enums

    A collection of enum classes for several purposes, including handling signals, directions and element types.

  • exceptions

    A collection of custom exceptions for several error cases that may occur.

  • graph

    Graph-related functionality and util methods.

  • netlist_elements

    Package for all classes related to Netlist Elements (e.g. instances, wires, ports) and metaclasses (e.g. element paths).

  • protocols

    Data structure protocols.