mirror of https://github.com/YosysHQ/abc.git
Counter-example analysis and optimization.
This commit is contained in:
parent
cd32ae50c4
commit
9b6ec8e84f
|
|
@ -390,8 +390,6 @@ Abc_Cex_t * Bmc_CexEssentialBitOne( Gia_Man_t * p, Abc_Cex_t * pCexState, int iB
|
||||||
Abc_Cex_t * pNew;
|
Abc_Cex_t * pNew;
|
||||||
Gia_Obj_t * pObj;
|
Gia_Obj_t * pObj;
|
||||||
int i, k, fCompl0, fCompl1;
|
int i, k, fCompl0, fCompl1;
|
||||||
int iFrame = iBit / pCexState->nPis;
|
|
||||||
int iNumber = iBit % pCexState->nPis;
|
|
||||||
assert( pCexState->nRegs == 0 );
|
assert( pCexState->nRegs == 0 );
|
||||||
assert( iBit < pCexState->nBits );
|
assert( iBit < pCexState->nBits );
|
||||||
if ( pfEqual )
|
if ( pfEqual )
|
||||||
|
|
@ -405,7 +403,7 @@ Abc_Cex_t * Bmc_CexEssentialBitOne( Gia_Man_t * p, Abc_Cex_t * pCexState, int iB
|
||||||
// simulate the remaining frames
|
// simulate the remaining frames
|
||||||
Gia_ManConst0(p)->fMark0 = 0;
|
Gia_ManConst0(p)->fMark0 = 0;
|
||||||
Gia_ManConst0(p)->fMark1 = 1;
|
Gia_ManConst0(p)->fMark1 = 1;
|
||||||
for ( i = iFrame; i <= pCexState->iFrame; i++ )
|
for ( i = iBit / pCexState->nPis; i <= pCexState->iFrame; i++ )
|
||||||
{
|
{
|
||||||
Gia_ManForEachCi( p, pObj, k )
|
Gia_ManForEachCi( p, pObj, k )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue