We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05a774c + e61207f commit 1f4ded5Copy full SHA for 1f4ded5
vpr/src/pack/cluster_util.cpp
@@ -1243,7 +1243,10 @@ enum e_block_pack_status try_place_atom_block_rec(const t_pb_graph_node* pb_grap
1243
}
1244
1245
} else {
1246
- VTR_ASSERT(parent_pb->mode == pb_graph_node->pb_type->parent_mode->index);
+ /* if this is not the first child of this parent, must match existing parent mode */
1247
+ if (parent_pb->mode != pb_graph_node->pb_type->parent_mode->index) {
1248
+ return BLK_FAILED_FEASIBLE;
1249
+ }
1250
1251
1252
const t_mode* mode = &parent_pb->pb_graph_node->pb_type->modes[parent_pb->mode];
0 commit comments