XAG balancing
Header: mockturtle/algorithms/xag_balancing.hpp
Parameters
-
struct xag_balancing_params
Algorithm
-
template<class Ntk>
void mockturtle::xag_balance(Ntk &ntk, xag_balancing_params const &ps = {}) XAG balancing.
This method balance the XAG to reduce the depth. Level minimization can be turned off. In this case, balancing tries to reconstruct AND and XOR trees such that logic sharing is maximized.
Required network functions:
get_nodenode_to_indexget_constantcreate_picreate_pocreate_notis_complementedforeach_nodeforeach_piforeach_poclone_nodeis_piis_constanthas_and