diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-11 09:27:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-11 09:27:50 -0700 |
commit | 2e02f2d6166c75b1fcec73d268e97e407071a372 (patch) | |
tree | d1366190553de2147aae4ab71a1179bb712b91d7 /ice40/chains.cc | |
parent | 8b04a646291bec7fb65b3580a08c266268acf010 (diff) | |
parent | fc0496ec718546366a47e60db090caa6a7059277 (diff) | |
download | nextpnr-2e02f2d6166c75b1fcec73d268e97e407071a372.tar.gz nextpnr-2e02f2d6166c75b1fcec73d268e97e407071a372.tar.bz2 nextpnr-2e02f2d6166c75b1fcec73d268e97e407071a372.zip |
Merge pull request #48 from YosysHQ/placer_speedup
placer: low hanging speedups
Diffstat (limited to 'ice40/chains.cc')
-rw-r--r-- | ice40/chains.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chains.cc b/ice40/chains.cc index 8638a96c..bb20b60b 100644 --- a/ice40/chains.cc +++ b/ice40/chains.cc @@ -97,7 +97,7 @@ class ChainConstrainer } tile.push_back(cell); chains.back().cells.push_back(cell); - bool split_chain = (!ctx->logicCellsCompatible(tile)) || (int(chains.back().cells.size()) > max_length); + bool split_chain = (!ctx->logicCellsCompatible(tile.data(), tile.size())) || (int(chains.back().cells.size()) > max_length); if (split_chain) { CellInfo *passout = make_carry_pass_out(cell->ports.at(ctx->id("COUT"))); tile.pop_back(); |