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
93b96fc3
Commit
93b96fc3
authored
Dec 06, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
An improvement to 'twoexact' and 'lutexact'.
parent
c6b962ef
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
src/sat/bmc/bmc.h
+1
-0
src/sat/bmc/bmcMaj.c
+8
-0
src/sat/bmc/bmcMaj2.c
+8
-0
No files found.
src/sat/bmc/bmc.h
View file @
93b96fc3
...
@@ -37,6 +37,7 @@ ABC_NAMESPACE_HEADER_START
...
@@ -37,6 +37,7 @@ ABC_NAMESPACE_HEADER_START
//#define USE_NODE_ORDER 1
//#define USE_NODE_ORDER 1
//#define USE_FIRST_SPECIAL 1
//#define USE_FIRST_SPECIAL 1
//#define USE_LESS_VARS 1
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// BASIC TYPES ///
/// BASIC TYPES ///
...
...
src/sat/bmc/bmcMaj.c
View file @
93b96fc3
...
@@ -447,7 +447,11 @@ int Exa_ManMarkup( Exa_Man_t * p )
...
@@ -447,7 +447,11 @@ int Exa_ManMarkup( Exa_Man_t * p )
continue
;
continue
;
}
}
#endif
#endif
#ifdef USE_LESS_VARS
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
#else
for
(
j
=
0
;
j
<
i
-
k
;
j
++
)
#endif
{
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
...
@@ -828,7 +832,11 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
...
@@ -828,7 +832,11 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
continue
;
continue
;
}
}
#endif
#endif
#ifdef USE_LESS_VARS
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
#else
for
(
j
=
0
;
j
<
i
-
k
;
j
++
)
#endif
{
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
...
...
src/sat/bmc/bmcMaj2.c
View file @
93b96fc3
...
@@ -553,7 +553,11 @@ static int Exa_ManMarkup( Exa_Man_t * p )
...
@@ -553,7 +553,11 @@ static int Exa_ManMarkup( Exa_Man_t * p )
continue
;
continue
;
}
}
#endif
#endif
#ifdef USE_LESS_VARS
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
for
(
j
=
1
-
k
;
j
<
i
-
k
;
j
++
)
#else
for
(
j
=
0
;
j
<
i
-
k
;
j
++
)
#endif
{
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
...
@@ -936,7 +940,11 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
...
@@ -936,7 +940,11 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
continue
;
continue
;
}
}
#endif
#endif
#ifdef USE_LESS_VARS
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
for
(
j
=
p
->
nLutSize
-
1
-
k
;
j
<
i
-
k
;
j
++
)
#else
for
(
j
=
0
;
j
<
i
-
k
;
j
++
)
#endif
{
{
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
Vec_WecPush
(
p
->
vOutLits
,
j
,
Abc_Var2Lit
(
p
->
iVar
,
0
)
);
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
p
->
VarMarks
[
i
][
k
][
j
]
=
p
->
iVar
++
;
...
...
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