From: Eddie Hung Date: Fri, 21 Jun 2019 00:03:05 +0000 (-0700) Subject: Actually, there might not be any harm in updating sigmap... X-Git-Tag: working-ls180~1085^2~53 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53fed4f7e9cd6512762cf93c74464d8e40efb414;p=yosys.git Actually, there might not be any harm in updating sigmap... --- diff --git a/passes/techmap/shregmap.cc b/passes/techmap/shregmap.cc index f308292fa..9da69e8ba 100644 --- a/passes/techmap/shregmap.cc +++ b/passes/techmap/shregmap.cc @@ -151,11 +151,9 @@ struct ShregmapWorker // so that it can be identified as another chain // (omitting this common flop) // Link: https://github.com/YosysHQ/yosys/pull/1085 - // NB: This relies on us not updating sigmap with this - // alias otherwise it would think they are the same - // wire Wire *wire = module->addWire(NEW_ID); module->connect(wire, d_bit); + sigmap.add(wire, d_bit); sigbit_chain_next.insert(std::make_pair(wire, cell)); }