|
CIRCT 22.0.0git
|
Represents a sum-of-products expression. More...
#include <TruthTable.h>

Public Member Functions | |
| SOPForm (unsigned numVars) | |
| llvm::APInt | computeTruthTable () const |
| Compute the truth table represented by this SOP form. | |
| void | dump (llvm::raw_ostream &os=llvm::errs()) const |
| Debug dump method for SOP forms. | |
Public Attributes | |
| llvm::SmallVector< Cube > | cubes |
| unsigned | numVars |
Represents a sum-of-products expression.
Definition at line 250 of file TruthTable.h.
|
inline |
Definition at line 254 of file TruthTable.h.
| APInt SOPForm::computeTruthTable | ( | ) | const |
Compute the truth table represented by this SOP form.
Definition at line 384 of file TruthTable.cpp.
References circt::createVarMask(), cubes, and numVars.
| void SOPForm::dump | ( | llvm::raw_ostream & | os = llvm::errs() | ) | const |
Debug dump method for SOP forms.
Definition at line 398 of file TruthTable.cpp.
| llvm::SmallVector<Cube> circt::SOPForm::cubes |
Definition at line 251 of file TruthTable.h.
Referenced by computeTruthTable(), and dump().
| unsigned circt::SOPForm::numVars |
Definition at line 252 of file TruthTable.h.
Referenced by computeTruthTable(), and dump().