aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/shregmap.cc
diff options
context:
space:
mode:
authorSergey <37293587+SergeyDegtyar@users.noreply.github.com>2019-08-29 21:09:40 +0300
committerGitHub <noreply@github.com>2019-08-29 21:09:40 +0300
commit5dda8f39a6b13610084d259e5490604380350eba (patch)
tree9dd6443a5da1b7a5364c832b0d2cac3ba098c9c3 /passes/techmap/shregmap.cc
parentd360693040dda29aba4ef2583e522c6ab88a4961 (diff)
parent14677610602ee18bcf1a41a0c54a626965e6bb06 (diff)
downloadyosys-5dda8f39a6b13610084d259e5490604380350eba.tar.gz
yosys-5dda8f39a6b13610084d259e5490604380350eba.tar.bz2
yosys-5dda8f39a6b13610084d259e5490604380350eba.zip
Merge pull request #2 from YosysHQ/master
Pull from upstream
Diffstat (limited to 'passes/techmap/shregmap.cc')
-rw-r--r--passes/techmap/shregmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/shregmap.cc b/passes/techmap/shregmap.cc
index 5e298d8dd..02cc27ae2 100644
--- a/passes/techmap/shregmap.cc
+++ b/passes/techmap/shregmap.cc
@@ -346,7 +346,7 @@ struct ShregmapWorker
IdString q_port = opts.ffcells.at(c1->type).second;
auto c1_conn = c1->connections();
- auto c2_conn = c1->connections();
+ auto c2_conn = c2->connections();
c1_conn.erase(d_port);
c1_conn.erase(q_port);