aboutsummaryrefslogtreecommitdiffstats
path: root/passes/sat/assertpmux.cc
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2021-02-22 22:02:48 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-02-22 23:30:28 +0100
commit4746ffd7b2f5de0bc1f29f35e9044091a3c704e0 (patch)
tree77007250b21e9ce359e5f105734b58eba1c495f9 /passes/sat/assertpmux.cc
parent01ccb80b708b45926b3690949479715ebf5e2853 (diff)
downloadyosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.tar.gz
yosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.tar.bz2
yosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.zip
assertpmux: Fix crash on unused $pmux output.
Fixes #2595.
Diffstat (limited to 'passes/sat/assertpmux.cc')
-rw-r--r--passes/sat/assertpmux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/sat/assertpmux.cc b/passes/sat/assertpmux.cc
index e9a10465e..f31b78804 100644
--- a/passes/sat/assertpmux.cc
+++ b/passes/sat/assertpmux.cc
@@ -88,7 +88,7 @@ struct AssertpmuxWorker
{
SigSpec output;
- for (auto muxuser : sigbit_muxusers.at(bit))
+ for (auto muxuser : sigbit_muxusers[bit])
{
Cell *cell = std::get<0>(muxuser);
int portidx = std::get<1>(muxuser);