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
1a66a582
Commit
1a66a582
authored
Feb 19, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on pdr with wla
parent
2d179204
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/base/wlc/wlcAbs.c
+1
-1
src/proof/pdr/pdrIncr.c
+5
-2
No files found.
src/base/wlc/wlcAbs.c
View file @
1a66a582
...
...
@@ -402,7 +402,7 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars )
}
// spurious CEX, continue solving
vClauses
=
IPdr_ManSaveClauses
(
pPdr
,
1
);
vClauses
=
IPdr_ManSaveClauses
(
pPdr
,
0
);
Pdr_ManStop
(
pPdr
);
// update the set of objects to be un-abstracted
...
...
src/proof/pdr/pdrIncr.c
View file @
1a66a582
...
...
@@ -81,14 +81,16 @@ int IPdr_ManCheckClauses( Pdr_Man_t * p )
{
Pdr_Set_t
*
pCubeK
;
Vec_Ptr_t
*
vArrayK
;
int
j
,
k
,
RetValue
,
kMax
=
Vec_PtrSize
(
p
->
vSolvers
)
-
1
;
int
j
,
k
,
RetValue
,
kMax
=
Vec_PtrSize
(
p
->
vSolvers
);
int
iStartFrame
=
1
;
int
counter
=
0
;
Vec_VecForEachLevelStartStop
(
p
->
vClauses
,
vArrayK
,
k
,
iStartFrame
,
kMax
)
{
Vec_PtrForEachEntry
(
Pdr_Set_t
*
,
vArrayK
,
pCubeK
,
j
)
{
RetValue
=
Pdr_ManCheckCube
(
p
,
k
,
pCubeK
,
NULL
,
0
,
0
,
1
);
++
counter
;
RetValue
=
Pdr_ManCheckCube
(
p
,
k
-
1
,
pCubeK
,
NULL
,
0
,
0
,
1
);
if
(
!
RetValue
)
{
printf
(
"Cube[%d][%d] not inductive!
\n
"
,
k
,
j
);
...
...
@@ -97,6 +99,7 @@ int IPdr_ManCheckClauses( Pdr_Man_t * p )
assert
(
RetValue
==
1
);
}
}
printf
(
"XXX: Pass check clauses! %d frames and %d clauses checked
\n
"
,
k
,
counter
);
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