core package#
Subpackages#
- core.benchmarks package
- Submodules
- core.benchmarks.Benchmark module
BLIFBenchmark
BLIFBenchmark.eval()
BLIFBenchmark.from_string()
BLIFBenchmark.get_auxiliary_variables()
BLIFBenchmark.get_file_extension()
BLIFBenchmark.get_input_variables()
BLIFBenchmark.get_output_variables()
BLIFBenchmark.model_name()
BLIFBenchmark.read()
BLIFBenchmark.to_blif()
BLIFBenchmark.to_data_flow_graph()
BLIFBenchmark.to_file_path()
BLIFBenchmark.to_pla()
BLIFBenchmark.to_string()
BLIFBenchmark.to_verilog()
Benchmark
PLABenchmark
PLABenchmark.eval()
PLABenchmark.from_string()
PLABenchmark.get_auxiliary_variables()
PLABenchmark.get_file_extension()
PLABenchmark.get_input_variables()
PLABenchmark.get_output_variables()
PLABenchmark.read()
PLABenchmark.to_blif()
PLABenchmark.to_pla()
PLABenchmark.to_string()
PLABenchmark.to_verilog()
VerilogBenchmark
VerilogBenchmark.collapse()
VerilogBenchmark.eval()
VerilogBenchmark.fix()
VerilogBenchmark.from_string()
VerilogBenchmark.get_auxiliary_variables()
VerilogBenchmark.get_file_extension()
VerilogBenchmark.get_input_variables()
VerilogBenchmark.get_output_variables()
VerilogBenchmark.negate()
VerilogBenchmark.read()
VerilogBenchmark.to_blif()
VerilogBenchmark.to_pla()
VerilogBenchmark.to_string()
VerilogBenchmark.to_verilog()
VerilogBenchmark.to_z3()
- core.benchmarks.Formula module
- Module contents
- core.decision_diagrams package
- core.expressions package
- core.hardware package
- Submodules
- core.hardware.Component module
- core.hardware.Crossbar module
Crossbar
Crossbar.find()
Crossbar.fix()
Crossbar.flip_horizontal()
Crossbar.flip_vertical()
Crossbar.from_string()
Crossbar.get_area()
Crossbar.get_columns()
Crossbar.get_file_extension()
Crossbar.get_input_nanowire()
Crossbar.get_input_nanowires()
Crossbar.get_memristor()
Crossbar.get_memristor_layers()
Crossbar.get_nanowire_layers()
Crossbar.get_output_nanowire()
Crossbar.get_output_nanowires()
Crossbar.get_rows()
Crossbar.get_semiperimeter()
Crossbar.get_volume()
Crossbar.graph()
Crossbar.instantiate()
Crossbar.read()
Crossbar.set_input_nanowire()
Crossbar.set_memristor()
Crossbar.set_output_nanowire()
MemristorCrossbar
MemristorCrossbar.compress()
MemristorCrossbar.eval()
MemristorCrossbar.find_equivalent_components()
MemristorCrossbar.fix()
MemristorCrossbar.from_string()
MemristorCrossbar.get_auxiliary_variables()
MemristorCrossbar.get_equivalent_columns()
MemristorCrossbar.get_equivalent_rows()
MemristorCrossbar.get_input_variables()
MemristorCrossbar.get_log()
MemristorCrossbar.get_output_variables()
MemristorCrossbar.get_ternary_matrix()
MemristorCrossbar.instantiate()
MemristorCrossbar.nd_array_to_crossbar()
MemristorCrossbar.to_dot()
MemristorCrossbar.to_string()
MemristorCrossbar.transpose()
SelectorCrossbar
SelectorCrossbar.eval()
SelectorCrossbar.fix()
SelectorCrossbar.from_string()
SelectorCrossbar.get_auxiliary_variables()
SelectorCrossbar.get_functions()
SelectorCrossbar.get_input_variables()
SelectorCrossbar.get_log()
SelectorCrossbar.get_output_variables()
SelectorCrossbar.instantiate()
SelectorCrossbar.to_dot()
SelectorCrossbar.to_string()
- core.hardware.Memristor module
- core.hardware.Topology module
- Module contents
Submodules#
core.BooleanFunction module#
- class core.BooleanFunction.BooleanFunction(name: str | None = None)[source]#
Bases:
BooleanFunctionInterface
,ABC
An abstract class to represent a Boolean function.
core.BooleanFunctionCollection module#
- class core.BooleanFunctionCollection.BooleanFunctionCollection(boolean_functions: Set[BooleanFunction] | None = None)[source]#
Bases:
BooleanFunctionInterface
,Loggable
A class to represent a set of multi-output Boolean functions.
- add(boolean_function: BooleanFunction)[source]#
Adds a multi-output Boolean function to this :param boolean_function: :return:
- eval(instance: Dict[str, bool]) Dict[str, bool] [source]#
Given the instance, this function returns an evaluation of this multi-output Boolean function. An evaluation is an assignment for each variable to a Boolean truth value (true/false). :param instance: A dictionary mapping the input variables (str) to the Boolean truth values true and false (bool). :return: A dictionary mapping the output variables (str) to the Boolean truth values true and false (bool).
- get_auxiliary_variables() Set[str] [source]#
Returns the set of auxiliary variables of this multi-output Boolean function.
- get_boolean_functions() Set[BooleanFunction] [source]#
- get_input_variables() Set[str] [source]#
Returns the set of input variables of this multi-output Boolean function.
- get_output_variables() Set[str] [source]#
Returns the set of output variables of this multi-output Boolean function.
- static read(file_path: Path) BooleanFunctionInterface [source]#
core.BooleanFunctionInterface module#
- class core.BooleanFunctionInterface.BooleanFunctionInterface[source]#
Bases:
ABC
An interface for a multi-output Boolean function.
- abstract eval(instance: Dict[str, bool]) Dict[str, bool] [source]#
Given the instance, this function returns an evaluation of this multi-output Boolean function. An evaluation is an assignment for each variable to a Boolean truth value (true/false). :param instance: A dictionary mapping the input variables (str) to the Boolean truth values true and false (bool). :return: A dictionary mapping the output variables (str) to the Boolean truth values true and false (bool).
- abstract get_auxiliary_variables() Set[str] [source]#
Returns the set of auxiliary variables of this multi-output Boolean function.