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_rr_graph.h"
|
|
|
|
#include "lb_router.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 {
|
|
|
|
|
|
|
|
LbRouter::NetId add_lb_router_net_to_route(LbRouter& lb_router,
|
2020-02-20 22:56:15 -06:00
|
|
|
const LbRRGraph& lb_rr_graph,
|
2020-02-20 21:26:20 -06:00
|
|
|
const LbRRNodeId& source_node,
|
|
|
|
const std::vector<LbRRNodeId>& sink_nodes,
|
2020-02-20 22:56:15 -06:00
|
|
|
const AtomContext& atom_ctx,
|
2020-02-20 21:26:20 -06:00
|
|
|
const AtomNetId& atom_net_id);
|
|
|
|
|
2020-02-22 23:10:32 -06:00
|
|
|
void save_lb_router_results_to_physical_pb(PhysicalPb& phy_pb,
|
|
|
|
const LbRouter& lb_router,
|
|
|
|
const LbRRGraph& lb_rr_graph);
|
|
|
|
|
2020-02-20 21:26:20 -06:00
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|