Update rr_graph_area.c

This commit is contained in:
tangxifan 2019-03-11 21:46:42 +08:00 committed by GitHub
parent 213f94ddee
commit b06df18a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -426,9 +426,9 @@ void count_unidir_routing_transistors(t_segment_inf * segment_inf,
/* Xifan TANG: cb switches*/
if (OPEN == switches_to_cblock[to_node]) {
switches_to_cblock[to_node] = switch_type;
switches_to_cblock[to_node] = rr_node[from_node].switches[iedge];
} else {
assert(switches_to_cblock[to_node] == switch_type);
assert(switches_to_cblock[to_node] == rr_node[from_node].switches[iedge]);
}
/* END */