Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
5f09917c
Commit
5f09917c
authored
Sep 20, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added simplification before the concurrent call to PDR.
parent
d21c0be4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
src/base/io/io.c
+2
-2
src/proof/abs/absPth.c
+15
-1
No files found.
src/base/io/io.c
View file @
5f09917c
...
...
@@ -195,8 +195,8 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
pFileName
=
argv
[
globalUtilOptind
];
// fix the wrong symbol
for
(
pTemp
=
pFileName
;
*
pTemp
;
pTemp
++
)
if
(
*
pTemp
==
'>'
)
*
pTemp
=
'
\\
'
;
if
(
*
pTemp
==
'>'
||
*
pTemp
==
'\\'
)
*
pTemp
=
'
/
'
;
// read libraries
Command
[
0
]
=
0
;
assert
(
strlen
(
pFileName
)
<
900
);
...
...
src/proof/abs/absPth.c
View file @
5f09917c
...
...
@@ -20,6 +20,7 @@
#include "abs.h"
#include "proof/pdr/pdr.h"
#include "proof/ssw/ssw.h"
// to compile on Linux, add -lpthread to LIBS in Makefile
...
...
@@ -135,9 +136,11 @@ void * Abs_ProverThread( void * pArg )
}
void
Gia_GlaProveAbsracted
(
Gia_Man_t
*
pGia
,
int
fVerbose
)
{
extern
Aig_Man_t
*
Dar_ManRwsat
(
Aig_Man_t
*
pAig
,
int
fBalance
,
int
fVerbose
);
Abs_ThData_t
*
pThData
;
Ssw_Pars_t
Pars
,
*
pPars
=
&
Pars
;
Aig_Man_t
*
pAig
,
*
pTemp
;
Gia_Man_t
*
pAbs
;
Aig_Man_t
*
pAig
;
pthread_t
ProverThread
;
int
status
;
// disable verbosity
...
...
@@ -148,6 +151,17 @@ void Gia_GlaProveAbsracted( Gia_Man_t * pGia, int fVerbose )
Gia_ManCleanValue
(
pGia
);
pAig
=
Gia_ManToAigSimple
(
pAbs
);
Gia_ManStop
(
pAbs
);
// simplify abstraction
Ssw_ManSetDefaultParams
(
pPars
);
pPars
->
nFramesK
=
4
;
pAig
=
Ssw_SignalCorrespondence
(
pTemp
=
pAig
,
pPars
);
//printf( "\n" );
//Aig_ManPrintStats( pTemp );
//Aig_ManPrintStats( pAig );
Aig_ManStop
(
pTemp
);
// synthesize abstraction
pAig
=
Dar_ManRwsat
(
pTemp
=
pAig
,
0
,
0
);
Aig_ManStop
(
pTemp
);
// reset the proof
status
=
pthread_mutex_lock
(
&
g_mutex
);
assert
(
status
==
0
);
g_fAbstractionProved
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment