From 84355d5cb2c3b1c5b618ae59c8c7249d47d3410c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 30 Aug 2008 08:01:00 -0700 Subject: Version abc80830 --- src/aig/dch/dchChoice.c | 7 +++++++ src/map/pcm/module.make | 0 src/map/ply/module.make | 0 3 files changed, 7 insertions(+) create mode 100644 src/map/pcm/module.make create mode 100644 src/map/ply/module.make (limited to 'src') diff --git a/src/aig/dch/dchChoice.c b/src/aig/dch/dchChoice.c index 09bbf2fb..ee1ce034 100644 --- a/src/aig/dch/dchChoice.c +++ b/src/aig/dch/dchChoice.c @@ -81,11 +81,18 @@ int Dch_DeriveChoiceCountEquivs( Aig_Man_t * pAig ) // remove referenced node from equivalence class assert( pAig->pEquivs[pPrev->Id] == pTemp ); pAig->pEquivs[pPrev->Id] = pAig->pEquivs[pTemp->Id]; + pAig->pEquivs[pTemp->Id] = NULL; + // how about the need to continue iterating over the list? + // pPrev = pTemp ??? Counter++; } nEquivs++; } } + printf( "Removed %d classes.\n", Counter ); + + if ( Counter ) + Dch_DeriveChoiceCountEquivs( pAig ); // if ( Counter ) // printf( "Removed %d equiv nodes because of non-zero ref counter.\n", Counter ); return nEquivs; diff --git a/src/map/pcm/module.make b/src/map/pcm/module.make new file mode 100644 index 00000000..e69de29b diff --git a/src/map/ply/module.make b/src/map/ply/module.make new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3