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
c6b962ef
Commit
c6b962ef
authored
Dec 06, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
An improvement to 'twoexact' and 'lutexact'.
parent
e37bbba7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/sat/bmc/bmc.h
+1
-0
src/sat/bmc/bmcMaj.c
+4
-0
src/sat/bmc/bmcMaj2.c
+4
-0
No files found.
src/sat/bmc/bmc.h
View file @
c6b962ef
...
...
@@ -36,6 +36,7 @@
ABC_NAMESPACE_HEADER_START
//#define USE_NODE_ORDER 1
//#define USE_FIRST_SPECIAL 1
////////////////////////////////////////////////////////////////////////
/// BASIC TYPES ///
...
...
src/sat/bmc/bmcMaj.c
View file @
c6b962ef
...
...
@@ -438,6 +438,7 @@ int Exa_ManMarkup( Exa_Man_t * p )
{
for
(
k
=
0
;
k
<
2
;
k
++
)
{
#ifdef USE_FIRST_SPECIAL
if
(
i
==
p
->
nObjs
-
1
&&
k
==
0
)
{
j
=
p
->
nObjs
-
2
;
...
...
@@ -445,6 +446,7 @@ int Exa_ManMarkup( Exa_Man_t * p )
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
continue
;
}
#endif
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
...
...
@@ -817,6 +819,7 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
{
for
(
k
=
0
;
k
<
p
->
nLutSize
;
k
++
)
{
#ifdef USE_FIRST_SPECIAL
if
(
i
==
p
->
nObjs
-
1
&&
k
==
0
)
{
j
=
p
->
nObjs
-
2
;
...
...
@@ -824,6 +827,7 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
continue
;
}
#endif
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
...
...
src/sat/bmc/bmcMaj2.c
View file @
c6b962ef
...
...
@@ -544,6 +544,7 @@ static int Exa_ManMarkup( Exa_Man_t * p )
{
for
(
k
=
0
;
k
<
2
;
k
++
)
{
#ifdef USE_FIRST_SPECIAL
if
(
i
==
p
->
nObjs
-
1
&&
k
==
0
)
{
j
=
p
->
nObjs
-
2
;
...
...
@@ -551,6 +552,7 @@ static int Exa_ManMarkup( Exa_Man_t * p )
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
continue
;
}
#endif
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
...
...
@@ -925,6 +927,7 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
{
for
(
k
=
0
;
k
<
p
->
nLutSize
;
k
++
)
{
#ifdef USE_FIRST_SPECIAL
if
(
i
==
p
->
nObjs
-
1
&&
k
==
0
)
{
j
=
p
->
nObjs
-
2
;
...
...
@@ -932,6 +935,7 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
continue
;
}
#endif
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
...
...
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