|
CIRCT 23.0.0git
|
Precomputed NPN canonicalization table for 4-input single-output functions. More...
#include <TruthTable.h>

Classes | |
| struct | Entry4 |
Public Member Functions | |
| NPNTable () | |
| bool | lookup (const BinaryTruthTable &tt, NPNClass &result) const |
| Returns false if the given truth table shape is unsupported. | |
Private Attributes | |
| std::array< Entry4, 1u<< 16 > | entries4 |
Precomputed NPN canonicalization table for 4-input single-output functions.
Definition at line 168 of file TruthTable.h.
| NPNTable::NPNTable | ( | ) |
| bool NPNTable::lookup | ( | const BinaryTruthTable & | tt, |
| NPNClass & | result | ||
| ) | const |
Returns false if the given truth table shape is unsupported.
Definition at line 443 of file TruthTable.cpp.
References entries4, circt::BinaryTruthTable::numInputs, circt::BinaryTruthTable::numOutputs, and circt::BinaryTruthTable::table.
Referenced by circt::synth::Cut::getNPNClass().
|
private |
Definition at line 183 of file TruthTable.h.
Referenced by lookup(), and NPNTable().