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
8fdc5d22
Commit
8fdc5d22
authored
Dec 13, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g++ portability changes.
parent
23af7f90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
src/aig/cnf/cnfMan.c
+2
-1
src/aig/saig/saigGlaPba2.c
+1
-1
src/base/abci/abcRec.c
+1
-1
No files found.
src/aig/cnf/cnfMan.c
View file @
8fdc5d22
...
@@ -334,8 +334,9 @@ void Cnf_DataWriteIntoFile( Cnf_Dat_t * p, char * pFileName, int fReadable )
...
@@ -334,8 +334,9 @@ void Cnf_DataWriteIntoFile( Cnf_Dat_t * p, char * pFileName, int fReadable )
SeeAlso []
SeeAlso []
***********************************************************************/
***********************************************************************/
void
*
Cnf_DataWriteIntoSolverInt
(
sat_solver
*
pSat
,
Cnf_Dat_t
*
p
,
int
nFrames
,
int
fInit
)
void
*
Cnf_DataWriteIntoSolverInt
(
void
*
pSolver
,
Cnf_Dat_t
*
p
,
int
nFrames
,
int
fInit
)
{
{
sat_solver
*
pSat
=
(
sat_solver
*
)
pSolver
;
int
i
,
f
,
status
;
int
i
,
f
,
status
;
assert
(
nFrames
>
0
);
assert
(
nFrames
>
0
);
assert
(
pSat
);
assert
(
pSat
);
...
...
src/aig/saig/saigGlaPba2.c
View file @
8fdc5d22
...
@@ -419,7 +419,7 @@ Vec_Int_t * Aig_Gla3ManUnsatCore( sat_solver2 * pSat, int nConfMax, int fVerbose
...
@@ -419,7 +419,7 @@ Vec_Int_t * Aig_Gla3ManUnsatCore( sat_solver2 * pSat, int nConfMax, int fVerbose
// derive the UNSAT core
// derive the UNSAT core
clk
=
clock
();
clk
=
clock
();
vCore
=
Sat_ProofCore
(
pSat
);
vCore
=
(
Vec_Int_t
*
)
Sat_ProofCore
(
pSat
);
if
(
fVerbose
)
if
(
fVerbose
)
{
{
printf
(
"SAT core contains %8d clauses (out of %8d). "
,
Vec_IntSize
(
vCore
),
sat_solver2_nclauses
(
pSat
)
);
printf
(
"SAT core contains %8d clauses (out of %8d). "
,
Vec_IntSize
(
vCore
),
sat_solver2_nclauses
(
pSat
)
);
...
...
src/base/abci/abcRec.c
View file @
8fdc5d22
...
@@ -293,7 +293,7 @@ void Abc_NtkRecDumpTruthTables( Abc_ManRec_t * p )
...
@@ -293,7 +293,7 @@ void Abc_NtkRecDumpTruthTables( Abc_ManRec_t * p )
for
(
i
=
0
;
i
<
p
->
nBins
;
i
++
)
for
(
i
=
0
;
i
<
p
->
nBins
;
i
++
)
for
(
pObj
=
p
->
pBins
[
i
];
pObj
;
pObj
=
pObj
->
pCopy
)
for
(
pObj
=
p
->
pBins
[
i
];
pObj
;
pObj
=
pObj
->
pCopy
)
{
{
pTruth
=
Vec_PtrEntry
(
p
->
vTtNodes
,
pObj
->
Id
);
pTruth
=
(
unsigned
*
)
Vec_PtrEntry
(
p
->
vTtNodes
,
pObj
->
Id
);
if
(
(
int
)
Kit_TruthSupport
(
pTruth
,
nVars
)
!=
(
1
<<
nVars
)
-
1
)
if
(
(
int
)
Kit_TruthSupport
(
pTruth
,
nVars
)
!=
(
1
<<
nVars
)
-
1
)
continue
;
continue
;
Extra_PrintHex
(
pFile
,
pTruth
,
nVars
);
Extra_PrintHex
(
pFile
,
pTruth
,
nVars
);
...
...
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