cellaigs: Fix the case of $_NMUX_ cells

Later on there's a

  if (cell->type == ID($_NMUX_))

but that code was unreachable until now.
This commit is contained in:
Martin Povišer 2023-07-10 12:27:50 +02:00
parent 78d13d1956
commit 8839d7fa5a
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ Aig::Aig(Cell *cell)
goto optimize;
}
if (cell->type.in(ID($mux), ID($_MUX_)))
if (cell->type.in(ID($mux), ID($_MUX_), ID($_NMUX_)))
{
int S = mk.inport(ID::S);
for (int i = 0; i < GetSize(cell->getPort(ID::Y)); i++) {