Skip to content

Commit 5ff8613

Browse files
authored
Merge pull request #1595 from antmicro/carry_assert_fix_comment
Code comment for #1591
2 parents 838b704 + 7b56616 commit 5ff8613

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vpr/src/pack/prepack.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,16 @@ static void update_chain_root_pins(t_pack_patterns* chain_pattern,
15481548
for (const auto pin_ptr : chain_input_pins) {
15491549
std::vector<t_pb_graph_pin*> connected_primitive_pins;
15501550
get_all_connected_primitive_pins(pin_ptr, connected_primitive_pins);
1551+
1552+
/**
1553+
* It is required that the chain pins are connected inside a complex
1554+
* block. Although it is allowed to have them disconnected in some
1555+
* modes of the block provided that there is always at least one mode
1556+
* that has them connected inside. The following assert checks for
1557+
* that.
1558+
*/
15511559
VTR_ASSERT(connected_primitive_pins.size());
1560+
15521561
primitive_input_pins.push_back(connected_primitive_pins);
15531562
}
15541563

0 commit comments

Comments
 (0)