mirror of https://github.com/YosysHQ/abc.git
Important corner-case bug in SOP computation (recently introduced).
This commit is contained in:
parent
8de4d919d2
commit
0c47d04c0b
|
|
@ -1276,7 +1276,10 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__
|
|||
|
||||
statLine(dd);
|
||||
if (L == zero)
|
||||
{
|
||||
*pnCubes = 0;
|
||||
return(zero);
|
||||
}
|
||||
if (U == one)
|
||||
{
|
||||
*pnCubes = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue