Template Struct Netlist¶
Defined in File netlist.hpp
Inheritance Relationships¶
Derived Type¶
public HierNetlist< graph_t >
(Template Class HierNetlist)
Template Parameter Order¶
typename graph_t
Struct Documentation¶
-
template<typename graph_t>
struct Netlist¶ -
Netlist is implemented by xn::Graph, which is a networkx-like graph.
Subclassed by HierNetlist< graph_t >
Public Types
-
using index_t = typename nodeview_t::key_type¶
Public Functions
-
Netlist(graph_t G, const nodeview_t &modules, const nodeview_t &nets)¶
Construct a new Netlist object.
- Parameters
G – [in]
module_list – [in]
net_list – [in]
module_fixed – [in]
G – [in]
modules – [in]
nets – [in]
- Template Parameters
nodeview_t –
nodemap_t –
-
Netlist(graph_t G, uint32_t numModules, uint32_t numNets)¶
Construct a new Netlist object.
- Parameters
G – [in]
num_modules – [in]
num_nets – [in]
-
inline auto begin() const¶
-
inline auto end() const¶
-
inline auto number_of_modules() const -> size_t¶
Get the number of modules.
- Returns
size_t
-
inline auto number_of_nets() const -> size_t¶
Get the number of nets.
- Returns
size_t
-
inline auto number_of_nodes() const -> size_t¶
Get the number of nodes.
- Returns
size_t
-
inline auto get_max_degree() const -> size_t¶
Get the max degree.
- Returns
index_t
- Returns
size_t
-
inline auto get_max_net_degree() const -> size_t¶
Get the max net degree.
- Returns
index_t
-
using index_t = typename nodeview_t::key_type¶