pub enum AigNode {
False,
Input(NodeId),
Latch {
id: NodeId,
next: AigEdge,
init: Option<bool>,
},
And {
id: NodeId,
fanin0: AigEdge,
fanin1: AigEdge,
},
}Expand description
An AIG node.
Each node has an id. By convention, id for constant node False is 0. The id must be unique.
Variants§
False
The constant low/false signal.
Input(NodeId)
A primary input.
Latch
A latch (for sequential circuits).
And
An AND gate with two fanins.
Implementations§
Trait Implementations§
impl Eq for AigNode
impl StructuralPartialEq for AigNode
Auto Trait Implementations§
impl Freeze for AigNode
impl !RefUnwindSafe for AigNode
impl !Send for AigNode
impl !Sync for AigNode
impl Unpin for AigNode
impl !UnwindSafe for AigNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more