Skip to content

netlist_carpentry.utils

Miscellaneous stuff and utilities.

Modules:

  • cfg –

    Module for handling global configuration of Netlist Carpentry.

  • custom_dict –

    Module for a custom dictionary class, with some extensions to the normal Python dict.

  • custom_list –

    Module for a custom list class, with some extensions to the normal Python list.

  • gate_factory –

    Factory methods simplifying instantiation of primitive gates, based on the classes from the gate library.

  • gate_lib –

    The gate_lib module provides a library of digital gates and other netlist elements.

  • gate_lib_base_classes –

    This module provides a set of classes for modeling digital circuits at the gate level.

  • gate_lib_dataclasses –

    Module for typed dictionaries used throughout the gate library for convenience.

  • gate_lib_extras –
  • gate_mixins –
  • log –

    Logging module for Netlist Carpentry, based on Python's logging module.

  • safe_format_dict –

    Custom dictionary, only used for string formatting via str.format_map that allows missing entries.

  • verilog –

    List of verilog keywords, used to check if a given identifier would clash with a keyword.