summaryrefslogtreecommitdiffstats
path: root/src/base/main
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-11-14 14:33:27 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-11-14 14:33:27 -0800
commitd8e04032967a524f4891927d73b1f61e60d8953b (patch)
treedc09b9ff312d5811c18151a712a7e49a6311e7a7 /src/base/main
parentddab80aea4cea4bbdcd4aa17dd1be893e50961b1 (diff)
downloadabc-d8e04032967a524f4891927d73b1f61e60d8953b.tar.gz
abc-d8e04032967a524f4891927d73b1f61e60d8953b.tar.bz2
abc-d8e04032967a524f4891927d73b1f61e60d8953b.zip
Added command 'cexsave' and 'cexload'.
Diffstat (limited to 'src/base/main')
-rw-r--r--src/base/main/mainFrame.c1
-rw-r--r--src/base/main/mainInt.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/base/main/mainFrame.c b/src/base/main/mainFrame.c
index 809056c9..deb0ddca 100644
--- a/src/base/main/mainFrame.c
+++ b/src/base/main/mainFrame.c
@@ -190,6 +190,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
}
Vec_PtrFreeP( &p->vLTLProperties_global );
Abc_FrameDeleteAllNetworks( p );
+ ABC_FREE( p->pCex2 );
ABC_FREE( p->pCex );
ABC_FREE( p );
s_GlobalFrame = NULL;
diff --git a/src/base/main/mainInt.h b/src/base/main/mainInt.h
index f30a13e5..9450462d 100644
--- a/src/base/main/mainInt.h
+++ b/src/base/main/mainInt.h
@@ -97,6 +97,7 @@ struct Abc_Frame_t_
Gia_Man_t * pGia; // alternative current network as a light-weight AIG
Gia_Man_t * pGia2; // copy of the above
Abc_Cex_t * pCex; // a counter-example to fail the current network
+ Abc_Cex_t * pCex2; // copy of the above
Vec_Ptr_t * vCexVec; // a vector of counter-examples if more than one PO fails
Vec_Ptr_t * vPoEquivs; // equivalence classes of isomorphic primary outputs
int Status; // the status of verification problem (proved=1, disproved=0, undecided=-1)