mirror of https://github.com/YosysHQ/abc.git
Bug fix in PDR.
This commit is contained in:
parent
5d2dc04144
commit
e87f0dd679
|
|
@ -54,7 +54,7 @@ Pdr_Man_t * Pdr_ManStart( Aig_Man_t * pAig, Pdr_Par_t * pPars, Vec_Int_t * vPrio
|
|||
p->pOrder = ABC_ALLOC( int, Aig_ManRegNum(pAig) );
|
||||
p->vActVars = Vec_IntAlloc( 256 );
|
||||
if ( !p->pPars->fMonoCnf )
|
||||
p->vVLits = Vec_WecStart( Aig_ManLevels(pAig) );
|
||||
p->vVLits = Vec_WecStart( Abc_MaxInt(1, Aig_ManLevels(pAig)) );
|
||||
// internal use
|
||||
p->vPrio = vPrioInit ? vPrioInit : Vec_IntStart( Aig_ManRegNum(pAig) ); // priority flops
|
||||
p->vLits = Vec_IntAlloc( 100 ); // array of literals
|
||||
|
|
|
|||
Loading…
Reference in New Issue