3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

assertpmux: Fix crash on unused $pmux output.

Fixes #2595.
This commit is contained in:
Marcelina Kościelnicka 2021-02-22 22:02:48 +01:00
parent 01ccb80b70
commit 4746ffd7b2
2 changed files with 19 additions and 1 deletions

View file

@ -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);