|
CIRCT 23.0.0git
|
Edge representation in the logic network. More...
#include <CutRewriter.h>

Public Member Functions | |
| Signal ()=default | |
| Signal (uint32_t index, bool inverted) | |
| Signal (uint32_t raw) | |
| uint32_t | getIndex () const |
| Get the node index (without the inversion bit). | |
| bool | isInverted () const |
| Check if this edge is inverted. | |
| uint32_t | getRaw () const |
| Get the raw data (index << 1 | inverted). | |
| Signal | flipInversion () const |
| Signal | operator! () const |
| Create an inverted version of this edge. | |
| bool | operator== (const Signal &other) const |
| bool | operator!= (const Signal &other) const |
| bool | operator< (const Signal &other) const |
Public Attributes | |
| uint32_t | data = 0 |
Edge representation in the logic network.
Similar to mockturtle's signal, this encodes both a node index and inversion in a single 32-bit value. The LSB indicates whether the signal is inverted.
Definition at line 74 of file CutRewriter.h.
|
default |
Referenced by flipInversion(), and operator!().
|
inline |
Definition at line 78 of file CutRewriter.h.
|
inlineexplicit |
Definition at line 80 of file CutRewriter.h.
|
inline |
Definition at line 91 of file CutRewriter.h.
References getIndex(), isInverted(), and Signal().
|
inline |
Get the node index (without the inversion bit).
Definition at line 83 of file CutRewriter.h.
References data.
Referenced by flipInversion(), and circt::synth::LogicNetwork::getValue().
|
inline |
Get the raw data (index << 1 | inverted).
Definition at line 89 of file CutRewriter.h.
References data.
|
inline |
Check if this edge is inverted.
Definition at line 86 of file CutRewriter.h.
References data.
Referenced by flipInversion().
|
inline |
Create an inverted version of this edge.
Definition at line 94 of file CutRewriter.h.
|
inline |
Definition at line 97 of file CutRewriter.h.
References data.
|
inline |
Definition at line 98 of file CutRewriter.h.
References data.
|
inline |
Definition at line 96 of file CutRewriter.h.
References data.
| uint32_t circt::synth::Signal::data = 0 |
Definition at line 75 of file CutRewriter.h.
Referenced by getIndex(), getRaw(), isInverted(), operator!(), operator!=(), operator<(), and operator==().