mirror of https://github.com/YosysHQ/yosys.git
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:
parent
78d13d1956
commit
8839d7fa5a
|
@ -318,7 +318,7 @@ Aig::Aig(Cell *cell)
|
||||||
goto optimize;
|
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);
|
int S = mk.inport(ID::S);
|
||||||
for (int i = 0; i < GetSize(cell->getPort(ID::Y)); i++) {
|
for (int i = 0; i < GetSize(cell->getPort(ID::Y)); i++) {
|
||||||
|
|
Loading…
Reference in New Issue