summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abc.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-03-02 00:57:48 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-03-02 00:57:48 -0800
commit7926d75ecb4ffd4441bea0c2d731e5b533534ee3 (patch)
tree42bd5aa54fe84a6f1e635c8a77a412beb1b4258c /src/base/abci/abc.c
parenta6f363d4615d01484af29cf8dcc53c87faeb2f3b (diff)
downloadabc-7926d75ecb4ffd4441bea0c2d731e5b533534ee3.tar.gz
abc-7926d75ecb4ffd4441bea0c2d731e5b533534ee3.tar.bz2
abc-7926d75ecb4ffd4441bea0c2d731e5b533534ee3.zip
Adding features related to the communication bridge.
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r--src/base/abci/abc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index c8090460..c4d5df4c 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -379,6 +379,12 @@ extern int Abc_CommandAbcLivenessToSafetyWithLTL( Abc_Frame_t * pAbc, int argc,
***********************************************************************/
void Abc_FrameReplaceCex( Abc_Frame_t * pAbc, Abc_Cex_t ** ppCex )
{
+ // update bridge
+ if ( Abc_FrameIsBridgeMode() )
+ {
+ extern int Gia_ManToBridgeResult( FILE * pFile, int Result, Abc_Cex_t * pCex );
+ Gia_ManToBridgeResult( stdout, pAbc->Status, *ppCex );
+ }
// update CEX
ABC_FREE( pAbc->pCex );
pAbc->pCex = *ppCex;
@@ -23473,8 +23479,7 @@ int Abc_CommandAbc9Equiv3( Abc_Frame_t * pAbc, int argc, char ** argv )
// else
// pAbc->Status = Ssw_RarSignalFilterGia2( pAbc->pGia, nFrames, nWords, nBinSize, nRounds, TimeOut, fUseCex? pAbc->pCex: NULL, fLatchOnly, fVerbose );
// pAbc->nFrames = pAbc->pGia->pCexSeq->iFrame;
- if ( pAbc->pGia->pCexSeq )
- Abc_FrameReplaceCex( pAbc, &pAbc->pGia->pCexSeq );
+ Abc_FrameReplaceCex( pAbc, &pAbc->pGia->pCexSeq );
return 0;
usage: