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
1cb140bb
Commit
1cb140bb
authored
Mar 30, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
%pdra: fixed bugs
parent
ecf91190
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
src/base/wlc/wlcAbs.c
+3
-1
src/base/wlc/wlcPth.c
+3
-3
src/proof/pdr/pdrIncr.c
+2
-1
No files found.
src/base/wlc/wlcAbs.c
View file @
1cb140bb
...
...
@@ -1545,7 +1545,9 @@ void Wla_ManRefine( Wla_Man_t * pWla )
if
(
pWla
->
fNewAbs
)
{
assert
(
pWla
->
pCex
==
NULL
);
if
(
pWla
->
pCex
)
Abc_CexFree
(
pWla
->
pCex
);
pWla
->
pCex
=
NULL
;
Gia_ManStop
(
pWla
->
pGia
);
pWla
->
pGia
=
NULL
;
return
;
}
...
...
src/base/wlc/wlcPth.c
View file @
1cb140bb
...
...
@@ -86,7 +86,7 @@ void * Wla_Bmc3Thread ( void * pArg )
{
int
status
;
int
RetValue
=
-
1
;
int
nFramesNoChangeLim
=
3
;
int
nFramesNoChangeLim
=
10
;
Bmc3_ThData_t
*
pData
=
(
Bmc3_ThData_t
*
)
pArg
;
Abc_Ntk_t
*
pAbcNtk
=
Abc_NtkFromAigPhase
(
pData
->
pAig
);
Saig_ParBmc_t
BmcPars
,
*
pBmcPars
=
&
BmcPars
;
...
...
@@ -94,7 +94,7 @@ void * Wla_Bmc3Thread ( void * pArg )
pBmcPars
->
pFuncStop
=
Wla_CallBackToStop
;
pBmcPars
->
RunId
=
pData
->
RunId
;
if
(
pData
->
pWla
->
nIters
>
1
&&
pData
->
pWla
->
pPars
->
fShrinkAbs
)
if
(
pData
->
pWla
->
pPars
->
fShrinkAbs
)
pBmcPars
->
nFramesMax
=
pData
->
pWla
->
iCexFrame
+
nFramesNoChangeLim
;
RetValue
=
Abc_NtkDarBmc3
(
pAbcNtk
,
pBmcPars
,
0
);
...
...
@@ -117,7 +117,7 @@ void * Wla_Bmc3Thread ( void * pArg )
if
(
pData
->
RunId
<
g_nRunIds
&&
pData
->
fVerbose
)
Abc_Print
(
1
,
"Bmc3 was cancelled. RunId=%d.
\n
"
,
pData
->
RunId
);
if
(
pData
->
RunId
==
g_nRunIds
)
if
(
pData
->
pWla
->
nIters
>
1
&&
pData
->
RunId
==
g_nRunIds
)
{
RetValue
=
Wla_ManShrinkAbs
(
pData
->
pWla
,
pData
->
pWla
->
iCexFrame
+
nFramesNoChangeLim
);
pData
->
pWla
->
iCexFrame
+=
nFramesNoChangeLim
;
...
...
src/proof/pdr/pdrIncr.c
View file @
1cb140bb
...
...
@@ -160,7 +160,8 @@ int IPdr_ManCheckClauses( Pdr_Man_t * p )
printf
(
"Cube[%d][%d] not inductive!
\n
"
,
k
,
j
);
}
assert
(
RetValue
==
1
);
if
(
RetValue
==
-
1
)
return
-
1
;
}
}
...
...
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