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
71fd9165
Commit
71fd9165
authored
Apr 03, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly updating the failed output when recording the CEX in bmc3 -a.
parent
5a20a27c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/sat/bmc/bmcBmc3.c
+5
-1
No files found.
src/sat/bmc/bmcBmc3.c
View file @
71fd9165
...
@@ -1772,6 +1772,7 @@ nTimeSat += clkSatRun;
...
@@ -1772,6 +1772,7 @@ nTimeSat += clkSatRun;
// check if other outputs failed under the same counter-example
// check if other outputs failed under the same counter-example
Saig_ManForEachPo
(
pAig
,
pObj
,
k
)
Saig_ManForEachPo
(
pAig
,
pObj
,
k
)
{
{
Abc_Cex_t
*
pCexDup
;
if
(
k
>=
Saig_ManPoNum
(
pAig
)
)
if
(
k
>=
Saig_ManPoNum
(
pAig
)
)
break
;
break
;
// skip solved outputs
// skip solved outputs
...
@@ -1807,7 +1808,10 @@ nTimeSat += clkSatRun;
...
@@ -1807,7 +1808,10 @@ nTimeSat += clkSatRun;
Gia_ManToBridgeResult
(
stdout
,
0
,
pCexNew0
,
pCexNew0
->
iPo
);
Gia_ManToBridgeResult
(
stdout
,
0
,
pCexNew0
,
pCexNew0
->
iPo
);
}
}
// remember solved output
// remember solved output
Vec_PtrWriteEntry
(
p
->
vCexes
,
k
,
Abc_CexDup
(
pCexNew
,
Saig_ManRegNum
(
pAig
))
);
//Vec_PtrWriteEntry( p->vCexes, k, Abc_CexDup(pCexNew, Saig_ManRegNum(pAig)) );
pCexDup
=
Abc_CexDup
(
pCexNew
,
Saig_ManRegNum
(
pAig
));
pCexDup
->
iPo
=
k
;
Vec_PtrWriteEntry
(
p
->
vCexes
,
k
,
pCexDup
);
}
}
Abc_CexFreeP
(
&
pCexNew0
);
Abc_CexFreeP
(
&
pCexNew0
);
Abc_CexFree
(
pCexNew
);
Abc_CexFree
(
pCexNew
);
...
...
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