aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/shregmap.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-29 10:33:28 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-29 10:33:28 -0700
commit14677610602ee18bcf1a41a0c54a626965e6bb06 (patch)
tree41c687b82750cd9d2b38c96e5ff98194f634a810 /passes/techmap/shregmap.cc
parent89695fd3ab488f7c6e32347ebfb29e15d8ba271e (diff)
downloadyosys-14677610602ee18bcf1a41a0c54a626965e6bb06.tar.gz
yosys-14677610602ee18bcf1a41a0c54a626965e6bb06.tar.bz2
yosys-14677610602ee18bcf1a41a0c54a626965e6bb06.zip
Fix typo that's gone unnoticed for 5 months!?!
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);