diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-02-22 22:02:48 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-02-22 23:30:28 +0100 |
commit | 4746ffd7b2f5de0bc1f29f35e9044091a3c704e0 (patch) | |
tree | 77007250b21e9ce359e5f105734b58eba1c495f9 /passes/sat | |
parent | 01ccb80b708b45926b3690949479715ebf5e2853 (diff) | |
download | yosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.tar.gz yosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.tar.bz2 yosys-4746ffd7b2f5de0bc1f29f35e9044091a3c704e0.zip |
assertpmux: Fix crash on unused $pmux output.
Fixes #2595.
Diffstat (limited to 'passes/sat')
-rw-r--r-- | passes/sat/assertpmux.cc | 2 |
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); |