diff options
author | gatecat <gatecat@ds0.me> | 2021-05-11 12:55:12 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-11 13:02:23 +0100 |
commit | e9fdbf618c5d36c3d6b31b53d90d6d1ad322f1a5 (patch) | |
tree | 9df73515a41dbedbd20ca2efc5b5752a14131967 /common | |
parent | 7a1a95a2d6ba7c9383f75016409aea1f613db547 (diff) | |
download | nextpnr-e9fdbf618c5d36c3d6b31b53d90d6d1ad322f1a5.tar.gz nextpnr-e9fdbf618c5d36c3d6b31b53d90d6d1ad322f1a5.tar.bz2 nextpnr-e9fdbf618c5d36c3d6b31b53d90d6d1ad322f1a5.zip |
router2: Fix a typo
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r-- | common/router2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router2.cc b/common/router2.cc index b62873c0..b48857d7 100644 --- a/common/router2.cc +++ b/common/router2.cc @@ -175,7 +175,7 @@ struct Router2 nets.at(i).bb.x0 = std::min(nets.at(i).bb.x0, ad.bb.x0); nets.at(i).bb.x1 = std::max(nets.at(i).bb.x1, ad.bb.x1); nets.at(i).bb.y0 = std::min(nets.at(i).bb.y0, ad.bb.y0); - nets.at(i).bb.y1 = std::max(nets.at(i).bb.x1, ad.bb.y1); + nets.at(i).bb.y1 = std::max(nets.at(i).bb.y1, ad.bb.y1); } // Add location to centroid sum Loc usr_loc = ctx->getBelLocation(usr.cell->bel); |