69 t_pb *parent, *sibling, *child;
70 int net_num, irr_node;
71 int i, j, k, ichild_type, ichild_inst;
72 int hack_empty_route_through;
75 hack_empty_route_through =
OPEN;
81 if (net_num ==
OPEN) {
91 if (
rr_node[irr_node].net_num == net_num) {
103 hack_empty_route_through = irr_node;
105 if (
rr_node[irr_node].edges[k] == rr_node_index) {
117 if (
rr_node[irr_node].net_num == net_num) {
119 if (
rr_node[irr_node].edges[k] == rr_node_index) {
128 for (ichild_type = 0;
132 for (ichild_inst = 0;
139 sibling = &parent->
child_pbs[ichild_type][ichild_inst];
149 if (
rr_node[irr_node].net_num == net_num) {
162 hack_empty_pb_graph_node =
173 if (
rr_node[irr_node].net_num == net_num) {
192 for (ichild_type = 0;
196 for (ichild_inst = 0;
203 child = &cur_pb->
child_pbs[ichild_type][ichild_inst];
211 if (
rr_node[irr_node].net_num == net_num) {
219 hack_empty_route_through = irr_node;
232 if (
rr_node[irr_node].net_num == net_num) {
233 hack_empty_route_through = irr_node;
235 if (
rr_node[irr_node].edges[k] == rr_node_index) {
245 vpr_printf(TIO_MESSAGE_INFO,
"Use hack in blif dumper (do properly later): connecting net %s #%d for pb %s type %s\n",
249 assert(hack_empty_route_through !=
OPEN);
250 return hack_empty_route_through;
t_pb_graph_pin ** clock_pins
struct s_pb_type * pb_type_children
t_pb_graph_pin ** output_pins
struct s_pb_graph_node *** child_pb_graph_nodes
struct s_pb_type * pb_type
t_pb_graph_node * pb_graph_node
t_pb_graph_pin ** input_pins