1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-29 05:15:02 +00:00

Merge branch 'master' into xc7

This commit is contained in:
Eddie Hung
2018-12-26 17:11:58 -08:00
8 changed files with 97 additions and 15 deletions

View File

@@ -51,7 +51,8 @@ std::vector<CellChain> find_chains(const Context *ctx, F1 cell_type_predicate, F
CellChain chain;
CellInfo *end = start;
while (end != nullptr) {
chain.cells.push_back(end);
if (chained.insert(end->name).second)
chain.cells.push_back(end);
end = get_next(ctx, end);
}
if (chain.cells.size() >= min_length) {