openfpga/src/mux_lib/mux_library.cpp
/* Find the maximum mux size among the mux graphs */
Find the maximum mux size among the mux graphs
Find the maximum mux size among the mux graphs
size_t MuxLibrary::max_mux_size() const {
  size_t max_mux_size = 0;
  for (const auto& mux : mux_ids_) {
    max_mux_size = std::max(max_mux_size, mux_graphs_[mux].num_inputs());
  }
  return max_mux_size;
}
size_t MuxLibrary :: max_mux_size ( ) const { size_t max_mux_size = 0 ; for ( const auto & mux : mux_ids_ ) { max_mux_size = std :: max ( max_mux_size , mux_graphs_ [ mux ] . num_inputs ( ) ) ; } return max_mux_size ; }
Find the maximum mux size among the mux graphs
Find the maximum mux size among the mux graphs
/* Iterate over all the mux graphs and find their sizes */