OpenFPGA/openfpga/src/repack/lb_router_utils.h

34 lines
1.2 KiB
C++

#ifndef LB_ROUTER_UTILS_H
#define LB_ROUTER_UTILS_H
/********************************************************************
* Include header files that are required by function declaration
*******************************************************************/
#include "atom_netlist.h"
#include "lb_router.h"
#include "lb_rr_graph.h"
#include "physical_pb.h"
/********************************************************************
* Function declaration
*******************************************************************/
/* begin namespace openfpga */
namespace openfpga {
LbRouter::NetId add_lb_router_net_to_route(
LbRouter& lb_router, const LbRRGraph& lb_rr_graph,
const std::vector<LbRRNodeId>& source_node,
const std::vector<LbRRNodeId>& sink_nodes, const AtomContext& atom_ctx,
const AtomNetId& atom_net_id);
void save_lb_router_results_to_physical_pb(PhysicalPb& phy_pb,
const LbRouter& lb_router,
const LbRRGraph& lb_rr_graph,
const AtomNetlist& atom_netlist,
const bool& verbose);
} /* end namespace openfpga */
#endif