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
f3dcf87c
Commit
f3dcf87c
authored
Dec 30, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New exact synthesis command 'allexact'.
parent
75d334a0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
33 deletions
+97
-33
src/base/abci/abc.c
+2
-2
src/sat/bmc/bmc.h
+2
-4
src/sat/bmc/bmcMaj3.c
+93
-27
No files found.
src/base/abci/abc.c
View file @
f3dcf87c
...
...
@@ -8473,7 +8473,7 @@ int Abc_CommandAllExact( Abc_Frame_t * pAbc, int argc, char ** argv )
pPars
->
fOrderNodes
^=
1
;
break
;
case
'e'
:
pPars
->
f
GenAll
^=
1
;
pPars
->
f
EnumSols
^=
1
;
break
;
case
'g'
:
pPars
->
fGlucose
^=
1
;
...
...
@@ -8559,7 +8559,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-N <num> : the number of K-input nodes [default = %d]
\n
"
,
pPars
->
nNodes
);
Abc_Print
(
-
2
,
"
\t
-a : toggle using only AND-gates when K = 2 [default = %s]
\n
"
,
pPars
->
fOnlyAnd
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-o : toggle using node ordering by fanins [default = %s]
\n
"
,
pPars
->
fOrderNodes
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-e : toggle enumerating all solutions [default = %s]
\n
"
,
pPars
->
f
GenAll
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-e : toggle enumerating all solutions [default = %s]
\n
"
,
pPars
->
f
EnumSols
?
"yes"
:
"no"
);
// Abc_Print( -2, "\t-g : toggle using Glucose 3.0 by Gilles Audemard and Laurent Simon [default = %s]\n", pPars->fGlucose ? "yes" : "no" );
Abc_Print
(
-
2
,
"
\t
-v : toggle verbose printout [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
src/sat/bmc/bmc.h
View file @
f3dcf87c
...
...
@@ -52,11 +52,10 @@ struct Bmc_EsPar_t_
int
nLutSize
;
int
nMajSupp
;
int
fMajority
;
int
fEnumSols
;
int
fOnlyAnd
;
int
fGlucose
;
int
fOrderNodes
;
int
f
GenAll
;
int
f
EnumSols
;
int
fFewerVars
;
int
fVerbose
;
char
*
pTtStr
;
...
...
@@ -70,11 +69,10 @@ static inline void Bmc_EsParSetDefault( Bmc_EsPar_t * pPars )
pPars
->
nLutSize
=
2
;
pPars
->
nMajSupp
=
0
;
pPars
->
fMajority
=
0
;
pPars
->
fEnumSols
=
0
;
pPars
->
fOnlyAnd
=
0
;
pPars
->
fGlucose
=
0
;
pPars
->
fOrderNodes
=
0
;
pPars
->
f
GenAll
=
0
;
pPars
->
f
EnumSols
=
0
;
pPars
->
fFewerVars
=
0
;
pPars
->
fVerbose
=
1
;
}
...
...
src/sat/bmc/bmcMaj3.c
View file @
f3dcf87c
This diff is collapsed.
Click to expand it.
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