Extract adders
Header: mockturtle/algorithms/extract_adders.hpp
-
template<class Ntk>
block_network mockturtle::extract_adders(Ntk &ntk, extract_adders_params const &ps = {}, extract_adders_stats *pst = {}) Adders extraction.
This function extracts half and full adders from a network. It returns a
block_networkwith extracted half and full adder blocks.Required network functions:
sizeis_piis_constantnode_to_indexindex_to_nodeget_nodeforeach_coforeach_nodeforeach_gate
- Parameters:
ntk – Network
ps – Parameters
pst – Stats