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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user