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
7753e097
Commit
7753e097
authored
Apr 07, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding command to dump UNSAT core of BMC instance.
parent
42927d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sat/bmc/bmcBCore.c
+2
-2
No files found.
src/sat/bmc/bmcBCore.c
View file @
7753e097
...
@@ -240,7 +240,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
...
@@ -240,7 +240,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
}
}
assert
(
RetValue
==
l_False
);
assert
(
RetValue
==
l_False
);
pSatCnf
=
sat_solver_store_release
(
pSat
);
pSatCnf
=
sat_solver_store_release
(
pSat
);
Sto_ManDumpClauses
(
(
Sto_Man_t
*
)
pSatCnf
,
"cnf_store.txt"
);
//
Sto_ManDumpClauses( (Sto_Man_t *)pSatCnf, "cnf_store.txt" );
// derive the UNSAT core
// derive the UNSAT core
clk
=
clock
();
clk
=
clock
();
pManProof
=
Intp_ManAlloc
();
pManProof
=
Intp_ManAlloc
();
...
@@ -248,7 +248,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
...
@@ -248,7 +248,7 @@ void Bmc_ManBCorePerform( Gia_Man_t * p, Bmc_BCorePar_t * pPars )
Intp_ManFree
(
pManProof
);
Intp_ManFree
(
pManProof
);
if
(
pPars
->
fVerbose
)
if
(
pPars
->
fVerbose
)
{
{
printf
(
"UNSAT core contains %
8d (out of %8
d) learned clauses. "
,
Vec_IntSize
(
vCore
),
sat_solver_nconflicts
(
pSat
)
);
printf
(
"UNSAT core contains %
d (out of %
d) learned clauses. "
,
Vec_IntSize
(
vCore
),
sat_solver_nconflicts
(
pSat
)
);
Abc_PrintTime
(
1
,
"Time"
,
clock
()
-
clk
);
Abc_PrintTime
(
1
,
"Time"
,
clock
()
-
clk
);
}
}
// write the problem
// write the problem
...
...
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