PandA-2024.02
|
klut_network_ext
class provides operations derived from the one already existing in mockturtle::klut_network
.
More...
Public Member Functions | |
signal | create_ge (signal const a, signal const b) |
Creates a 'greater' or equal operation. More... | |
signal | create_gt (signal const a, signal const b) |
Creates a 'greater' operation. More... | |
signal | create_eq (signal const a, signal const b) |
Creates a 'equal' operation. More... | |
signal | create_ne (signal const a, signal const b) |
Creates a 'not equal' operation. More... | |
std::vector< signal > | create_pi_v (size_t size) |
void | create_po_v (std::vector< signal > pos) |
std::vector< signal > | get_constant_v (std::vector< bool > bits) |
signal | create_lut (std::vector< signal > s, long long f) |
Creates a 'lut' operation from an std::vector of mockturtle::klut_network::signal with the associated constant. More... | |
std::vector< signal > | create_buf_v (std::vector< signal > const &a) |
std::vector< signal > | create_not_v (std::vector< signal > const &a) |
std::vector< signal > | create_and_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_or_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_xor_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_lt_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_ge_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_gt_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_le_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_eq_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
std::vector< signal > | create_ne_v (std::vector< signal > const &a, std::vector< signal > const &b, bool signedValues) |
Private Member Functions | |
void | fix_inputs_size (std::vector< signal > *a, std::vector< signal > *b, bool signedValues) |
kitty::dynamic_truth_table | create_lt_tt (unsigned int bits) |
klut_network_ext
class provides operations derived from the one already existing in mockturtle::klut_network
.
Definition at line 223 of file lut_transformation.cpp.
|
inline |
Definition at line 420 of file lut_transformation.cpp.
|
inline |
Definition at line 405 of file lut_transformation.cpp.
|
inline |
Creates a 'equal' operation.
a | a mockturtle::klut_network::signal representing the first operator of the gt operation |
b | a mockturtle::klut_network::signal representing the second operator of the gt operation |
mockturtle::klut_network::signal
representing the operation eq
between a
and b
Definition at line 314 of file lut_transformation.cpp.
Referenced by GetBooleanNodeCreationFunction().
|
inline |
Definition at line 498 of file lut_transformation.cpp.
Referenced by GetIntegerNodeCreationFunction().
|
inline |
Creates a 'greater' or equal operation.
a | a mockturtle::klut_network::signal representing the first operator of the ge operation |
b | a mockturtle::klut_network::signal representing the second operator of the ge operation |
mockturtle::klut_network::signal
representing the operation ge
between a
and b
Definition at line 288 of file lut_transformation.cpp.
Referenced by GetBooleanNodeCreationFunction().
|
inline |
Definition at line 482 of file lut_transformation.cpp.
Referenced by GetIntegerNodeCreationFunction().
|
inline |
Creates a 'greater' operation.
a | a mockturtle::klut_network::signal representing the first operator of the gt operation |
b | a mockturtle::klut_network::signal representing the second operator of the gt operation |
mockturtle::klut_network::signal
representing the operation gt
between a
and b
Definition at line 301 of file lut_transformation.cpp.
Referenced by GetBooleanNodeCreationFunction().
|
inline |
Definition at line 488 of file lut_transformation.cpp.
Referenced by GetIntegerNodeCreationFunction().
|
inline |
Definition at line 493 of file lut_transformation.cpp.
Referenced by GetIntegerNodeCreationFunction().
|
inlineprivate |
Definition at line 262 of file lut_transformation.cpp.
|
inline |
Definition at line 459 of file lut_transformation.cpp.
References result.
Referenced by GetIntegerNodeCreationFunction().
|
inline |
Creates a 'lut' operation from an std::vector
of mockturtle::klut_network::signal
with the associated constant.
s | an std::vector of mockturtle::klut_network::signal containing the inputs of the lut |
f | the constant associated to the lut |
mockturtle::klut_network::signal
representing a lut between s
with constant f
Definition at line 375 of file lut_transformation.cpp.
Referenced by lut_transformation::ProcessBasicBlock().
|
inline |
Creates a 'not equal' operation.
a | a mockturtle::klut_network::signal representing the first operator of the ne operation |
b | a mockturtle::klut_network::signal representing the second operator of the ne operation |
mockturtle::klut_network::signal
representing the operation ne
between a
and b
Definition at line 327 of file lut_transformation.cpp.
Referenced by GetBooleanNodeCreationFunction().
|
inline |
Definition at line 511 of file lut_transformation.cpp.
Referenced by GetIntegerNodeCreationFunction().
|
inline |
Definition at line 410 of file lut_transformation.cpp.
|
inline |
Definition at line 433 of file lut_transformation.cpp.
|
inline |
Definition at line 335 of file lut_transformation.cpp.
Referenced by lut_transformation::ProcessBasicBlock().
|
inline |
Definition at line 347 of file lut_transformation.cpp.
Referenced by lut_transformation::ProcessBasicBlock().
|
inline |
Definition at line 446 of file lut_transformation.cpp.
|
inlineprivate |
Definition at line 226 of file lut_transformation.cpp.
|
inline |
Definition at line 355 of file lut_transformation.cpp.
Referenced by lut_transformation::ProcessBasicBlock().