mirror of https://github.com/YosysHQ/abc.git
Replace failing assert in lutpack with non-failing version
This commit is contained in:
parent
8762d6c667
commit
60e091d993
|
|
@ -197,7 +197,7 @@ unsigned * Lpk_CutTruth( Lpk_Man_t * p, Lpk_Cut_t * pCut, int fInv )
|
||||||
// set the initial truth tables at the fanins
|
// set the initial truth tables at the fanins
|
||||||
Abc_ObjForEachFanin( pObj, pFanin, k )
|
Abc_ObjForEachFanin( pObj, pFanin, k )
|
||||||
{
|
{
|
||||||
assert( ((unsigned)(ABC_PTRUINT_T)pFanin->pCopy) & 0xffff0000 );
|
assert( ((ABC_PTRUINT_T)pFanin->pCopy) > 0xffff ); // catch small int values or NULL
|
||||||
Hop_ManPi( pManHop, k )->pData = pFanin->pCopy;
|
Hop_ManPi( pManHop, k )->pData = pFanin->pCopy;
|
||||||
}
|
}
|
||||||
// compute the truth table of internal nodes
|
// compute the truth table of internal nodes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue