2020-02-20 21:26:20 -06:00
|
|
|
#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"
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "lb_rr_graph.h"
|
2020-02-22 23:10:32 -06:00
|
|
|
#include "physical_pb.h"
|
2020-02-20 21:26:20 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
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);
|
2020-02-20 21:26:20 -06:00
|
|
|
|
2020-02-22 23:10:32 -06:00
|
|
|
void save_lb_router_results_to_physical_pb(PhysicalPb& phy_pb,
|
|
|
|
const LbRouter& lb_router,
|
2022-08-27 21:59:57 -05:00
|
|
|
const LbRRGraph& lb_rr_graph,
|
|
|
|
const AtomNetlist& atom_netlist,
|
|
|
|
const bool& verbose);
|
2020-02-22 23:10:32 -06:00
|
|
|
|
2020-02-20 21:26:20 -06:00
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|