openfpga/src/repack/build_physical_lb_rr_graph.cpp
/***************************************************************************************
 * Build the edge for an output pb_graph_pin for a root pb_graph node
 * These node should be connected to a command external lb_rr_node
 ***************************************************************************************/
Build the edge for an output pb_graph_pin for a root pb_graph node
These node should be connected to a command external lb_rr_node
Build the edge for an output pb_graph_pin for a root pb_graph node These node should be connected to a command external lb_rr_node
static 
void build_lb_rr_edge_root_pb_graph_pin(LbRRGraph& lb_rr_graph,
                                        t_pb_graph_pin* pb_pin,
                                        const e_lb_rr_type& pin_rr_type,
                                        const LbRRNodeId& ext_rr_index) {
  LbRRNodeId from_node = lb_rr_graph.find_node(pin_rr_type, pb_pin);
  VTR_ASSERT(true == lb_rr_graph.valid_node_id(from_node));
  LbRREdgeId edge = lb_rr_graph.create_edge(from_node, ext_rr_index, nullptr);
  lb_rr_graph.set_edge_intrinsic_cost(edge, 1.); 
}
static void build_lb_rr_edge_root_pb_graph_pin ( LbRRGraph & lb_rr_graph , t_pb_graph_pin * pb_pin , const e_lb_rr_type & pin_rr_type , const LbRRNodeId & ext_rr_index ) { LbRRNodeId from_node = lb_rr_graph . find_node ( pin_rr_type , pb_pin ) ; VTR_ASSERT ( true == lb_rr_graph . valid_node_id ( from_node ) ) ; LbRREdgeId edge = lb_rr_graph . create_edge ( from_node , ext_rr_index , nullptr ) ; lb_rr_graph . set_edge_intrinsic_cost ( edge , 1. ) ; }
Build the edge for an output pb_graph_pin for a root pb_graph node
 These node should be connected to a command external lb_rr_node
Build the edge for an output pb_graph_pin for a root pb_graph node These node should be connected to a command external lb_rr_node
/* Find the node that we have already created */ /* TODO: Double check if this is the case */