diff options
author | David Shah <davey1576@gmail.com> | 2018-07-03 14:47:41 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-03 14:47:41 +0200 |
commit | 5ca76461da3498b16f871f8ee50794fe67ce8394 (patch) | |
tree | 930280a214dfad3f7d8c54ad1177e4ddd08863de | |
parent | 59b2091f777dd90006a6be9c97bcd72add8de6c5 (diff) | |
download | nextpnr-5ca76461da3498b16f871f8ee50794fe67ce8394.tar.gz nextpnr-5ca76461da3498b16f871f8ee50794fe67ce8394.tar.bz2 nextpnr-5ca76461da3498b16f871f8ee50794fe67ce8394.zip |
ice40: Improving routeability of carries
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r-- | ice40/place_legaliser.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ice40/place_legaliser.cc b/ice40/place_legaliser.cc index 9e279f25..b141148b 100644 --- a/ice40/place_legaliser.cc +++ b/ice40/place_legaliser.cc @@ -366,12 +366,7 @@ class PlacementLegaliser cout_port.net->driver = o_r; lc->ports.at(ctx->id("I3")).net = co_i3_net.get(); cout_port.net = co_i3_net.get(); - // I1=1 feeds carry up the chain, so no need to actually break the chain - lc->ports.at(ctx->id("I1")).net = ctx->nets.at(ctx->id("$PACKER_VCC_NET")).get(); - PortRef i1_r; - i1_r.port = ctx->id("I1"); - i1_r.cell = lc.get(); - ctx->nets.at(ctx->id("$PACKER_VCC_NET"))->users.push_back(i1_r); + IdString co_i3_name = co_i3_net->name; assert(ctx->nets.find(co_i3_name) == ctx->nets.end()); ctx->nets[co_i3_name] = std::move(co_i3_net); |