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
71f67ef9
Commit
71f67ef9
authored
Jul 01, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Other improvements to bmc2 and bmc3.
parent
8765502e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
13 deletions
+1
-13
src/aig/saig/saigBmc3.c
+1
-13
No files found.
src/aig/saig/saigBmc3.c
View file @
71f67ef9
...
...
@@ -983,11 +983,6 @@ static inline void Saig_ManBmcAddClauses( Gia_ManBmc_t * p, int uTruth, int Lits
}
CutLit
=
CutLit
/
3
;
}
// for ( b = 0; b < nClaLits; b++ )
// printf( "%d ", ClaLits[b] );
// printf( "\n" );
if
(
!
sat_solver_addclause
(
p
->
pSat
,
ClaLits
,
ClaLits
+
nClaLits
)
)
assert
(
0
);
}
...
...
@@ -1008,7 +1003,7 @@ static inline void Saig_ManBmcAddClauses( Gia_ManBmc_t * p, int uTruth, int Lits
***********************************************************************/
static
inline
unsigned
Saig_ManBmcHashKey
(
unsigned
*
pArray
)
{
static
s_Primes
[
5
]
=
{
12582917
,
25165843
,
50331653
,
100663319
,
201326611
};
static
int
s_Primes
[
5
]
=
{
12582917
,
25165843
,
50331653
,
100663319
,
201326611
};
unsigned
i
,
Key
=
0
;
for
(
i
=
0
;
i
<
5
;
i
++
)
Key
+=
pArray
[
i
]
*
s_Primes
[
i
];
...
...
@@ -1017,12 +1012,6 @@ static inline unsigned Saig_ManBmcHashKey( unsigned * pArray )
static
inline
int
*
Saig_ManBmcLookup
(
Gia_ManBmc_t
*
p
,
unsigned
*
pArray
)
{
unsigned
*
pTable
=
p
->
pTable
+
6
*
(
Saig_ManBmcHashKey
(
pArray
)
%
p
->
nTable
);
/*
int i;
for ( i = 0; i < 5; i++ )
printf( "%6d ", pArray[i] );
printf( "\n" );
*/
if
(
memcmp
(
pTable
,
pArray
,
20
)
)
{
if
(
pTable
[
0
]
==
0
)
...
...
@@ -1034,7 +1023,6 @@ printf( "\n" );
}
else
p
->
nHashHit
++
;
assert
(
pTable
+
5
<
pTable
+
6
*
p
->
nTable
);
return
(
int
*
)(
pTable
+
5
);
}
...
...
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