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
653dc8cf
Commit
653dc8cf
authored
Sep 16, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added bridge integration for multi-output 'pdr -a'.
parent
3b1cf097
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/base/abci/abc.c
+1
-1
src/misc/util/utilBridge.c
+2
-5
No files found.
src/base/abci/abc.c
View file @
653dc8cf
...
@@ -23754,7 +23754,7 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -23754,7 +23754,7 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
return
0
;
return
0
;
}
}
// run the procedure
// run the procedure
pPars
->
fUseBridge
=
pAbc
->
fB
atch
Mode
;
pPars
->
fUseBridge
=
pAbc
->
fB
ridge
Mode
;
pAbc
->
Status
=
Abc_NtkDarPdr
(
pNtk
,
pPars
);
pAbc
->
Status
=
Abc_NtkDarPdr
(
pNtk
,
pPars
);
pAbc
->
nFrames
=
pNtk
->
vSeqModelVec
?
-
1
:
pPars
->
iFrame
;
pAbc
->
nFrames
=
pNtk
->
vSeqModelVec
?
-
1
:
pPars
->
iFrame
;
Abc_FrameReplacePoStatuses
(
pAbc
,
&
pPars
->
vOutMap
);
Abc_FrameReplacePoStatuses
(
pAbc
,
&
pPars
->
vOutMap
);
src/misc/util/utilBridge.c
View file @
653dc8cf
...
@@ -200,12 +200,11 @@ void Gia_ManFromBridgeHolds( FILE * pFile, int iPoProved )
...
@@ -200,12 +200,11 @@ void Gia_ManFromBridgeHolds( FILE * pFile, int iPoProved )
fputc
(
(
char
)
BRIDGE_VALUE_1
,
pFile
);
// true
fputc
(
(
char
)
BRIDGE_VALUE_1
,
pFile
);
// true
fputc
(
(
char
)
1
,
pFile
);
// size of vector (Armin's encoding)
fputc
(
(
char
)
1
,
pFile
);
// size of vector (Armin's encoding)
// fputc( (char)0, pFile ); // number of the property (Armin's encoding)
Gia_AigerWriteUnsignedFile
(
pFile
,
iPoProved
);
// number of the property (Armin's encoding)
Gia_AigerWriteUnsignedFile
(
pFile
,
iPoProved
);
// number of the property (Armin's encoding)
fputc
(
(
char
)
0
,
pFile
);
// no invariant
fputc
(
(
char
)
0
,
pFile
);
// no invariant
fflush
(
pFile
);
fflush
(
pFile
);
}
}
void
Gia_ManFromBridgeUnknown
(
FILE
*
pFile
,
int
iPo
Proved
)
void
Gia_ManFromBridgeUnknown
(
FILE
*
pFile
,
int
iPo
Unknown
)
{
{
fprintf
(
pFile
,
"%.6d"
,
101
/*message type = Result*/
);
fprintf
(
pFile
,
"%.6d"
,
101
/*message type = Result*/
);
fprintf
(
pFile
,
" "
);
fprintf
(
pFile
,
" "
);
...
@@ -214,8 +213,7 @@ void Gia_ManFromBridgeUnknown( FILE * pFile, int iPoProved )
...
@@ -214,8 +213,7 @@ void Gia_ManFromBridgeUnknown( FILE * pFile, int iPoProved )
fputc
(
(
char
)
BRIDGE_VALUE_X
,
pFile
);
// undef
fputc
(
(
char
)
BRIDGE_VALUE_X
,
pFile
);
// undef
fputc
(
(
char
)
1
,
pFile
);
// size of vector (Armin's encoding)
fputc
(
(
char
)
1
,
pFile
);
// size of vector (Armin's encoding)
// fputc( (char)0, pFile ); // number of the property (Armin's encoding)
Gia_AigerWriteUnsignedFile
(
pFile
,
iPoUnknown
);
// number of the property (Armin's encoding)
Gia_AigerWriteUnsignedFile
(
pFile
,
iPoProved
);
// number of the property (Armin's encoding)
fflush
(
pFile
);
fflush
(
pFile
);
}
}
void
Gia_ManFromBridgeCex
(
FILE
*
pFile
,
Abc_Cex_t
*
pCex
)
void
Gia_ManFromBridgeCex
(
FILE
*
pFile
,
Abc_Cex_t
*
pCex
)
...
@@ -224,7 +222,6 @@ void Gia_ManFromBridgeCex( FILE * pFile, Abc_Cex_t * pCex )
...
@@ -224,7 +222,6 @@ void Gia_ManFromBridgeCex( FILE * pFile, Abc_Cex_t * pCex )
Vec_Str_t
*
vStr
=
Vec_StrAlloc
(
1000
);
Vec_Str_t
*
vStr
=
Vec_StrAlloc
(
1000
);
Vec_StrPush
(
vStr
,
(
char
)
BRIDGE_VALUE_0
);
// false
Vec_StrPush
(
vStr
,
(
char
)
BRIDGE_VALUE_0
);
// false
Vec_StrPush
(
vStr
,
(
char
)
1
);
// size of vector (Armin's encoding)
Vec_StrPush
(
vStr
,
(
char
)
1
);
// size of vector (Armin's encoding)
// Vec_StrPush( vStr, (char)0 ); // number of the property (Armin's encoding)
Gia_AigerWriteUnsigned
(
vStr
,
pCex
->
iPo
);
// number of the property (Armin's encoding)
Gia_AigerWriteUnsigned
(
vStr
,
pCex
->
iPo
);
// number of the property (Armin's encoding)
Vec_StrPush
(
vStr
,
(
char
)
1
);
// size of vector (Armin's encoding)
Vec_StrPush
(
vStr
,
(
char
)
1
);
// size of vector (Armin's encoding)
Gia_AigerWriteUnsigned
(
vStr
,
pCex
->
iFrame
);
// depth
Gia_AigerWriteUnsigned
(
vStr
,
pCex
->
iFrame
);
// depth
...
...
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