PandA-2024.02
Public Member Functions | Data Fields
klut_network_node Struct Reference

Helper structure that better represents a mockturtle::klut_network's node. More...

Public Member Functions

 klut_network_node (uint64_t _index, long long _lut_constant, const std::vector< uint64_t > &_fan_in, bool _is_po, uint64_t _po_index, bool _is_constant)
 

Data Fields

uint64_t index
 the index of the node More...
 
long long lut_constant
 the lut constant More...
 
std::vector< uint64_t > fan_in
 a std::vector containing the indexes of all inputs of the current node More...
 
bool is_po
 whether the current node is a primary output More...
 
uint64_t po_index
 in case the current node is a primary output, holds the index of the primary output More...
 
bool is_constant
 true in case the node is a constant value More...
 

Detailed Description

Helper structure that better represents a mockturtle::klut_network's node.

Definition at line 522 of file lut_transformation.cpp.

Constructor & Destructor Documentation

◆ klut_network_node()

klut_network_node::klut_network_node ( uint64_t  _index,
long long  _lut_constant,
const std::vector< uint64_t > &  _fan_in,
bool  _is_po,
uint64_t  _po_index,
bool  _is_constant 
)
inlineexplicit

Definition at line 541 of file lut_transformation.cpp.

Field Documentation

◆ fan_in

std::vector<uint64_t> klut_network_node::fan_in

a std::vector containing the indexes of all inputs of the current node

Definition at line 531 of file lut_transformation.cpp.

◆ index

uint64_t klut_network_node::index

the index of the node

Definition at line 525 of file lut_transformation.cpp.

◆ is_constant

bool klut_network_node::is_constant

true in case the node is a constant value

Definition at line 540 of file lut_transformation.cpp.

◆ is_po

bool klut_network_node::is_po

whether the current node is a primary output

Definition at line 534 of file lut_transformation.cpp.

◆ lut_constant

long long klut_network_node::lut_constant

the lut constant

Definition at line 528 of file lut_transformation.cpp.

◆ po_index

uint64_t klut_network_node::po_index

in case the current node is a primary output, holds the index of the primary output

Definition at line 537 of file lut_transformation.cpp.


The documentation for this struct was generated from the following file:

Generated on Mon Feb 12 2024 13:03:56 for PandA-2024.02 by doxygen 1.8.13