summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-08-30 08:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-08-30 08:01:00 -0700
commit84355d5cb2c3b1c5b618ae59c8c7249d47d3410c (patch)
tree990390fffa9e82ff1f77b021f0c7b18db7709152 /src
parentb8dea8ff0510ee7be465f5fe50994ecb58b9b30a (diff)
downloadabc-84355d5cb2c3b1c5b618ae59c8c7249d47d3410c.tar.gz
abc-84355d5cb2c3b1c5b618ae59c8c7249d47d3410c.tar.bz2
abc-84355d5cb2c3b1c5b618ae59c8c7249d47d3410c.zip
Version abc80830
Diffstat (limited to 'src')
-rw-r--r--src/aig/dch/dchChoice.c7
-rw-r--r--src/map/pcm/module.make0
-rw-r--r--src/map/ply/module.make0
3 files changed, 7 insertions, 0 deletions
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
--- /dev/null
+++ b/src/map/pcm/module.make
diff --git a/src/map/ply/module.make b/src/map/ply/module.make
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/map/ply/module.make