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
20bb8948
Commit
20bb8948
authored
Mar 08, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated NPN classification code.
parent
ef599dca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
src/base/abci/abc.c
+4
-4
src/base/abci/abcNpn.c
+6
-6
No files found.
src/base/abci/abc.c
View file @
20bb8948
...
...
@@ -6796,10 +6796,10 @@ usage:
Abc_Print
(
-
2
,
"
\t
5: new fast hybrid semi-canonical form
\n
"
);
Abc_Print
(
-
2
,
"
\t
6: new phase canonical form
\n
"
);
Abc_Print
(
-
2
,
"
\t
7: new hierarchical matching
\n
"
);
Abc_Print
(
-
2
,
"
\t
8: hierarchical matching by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
9:
FPL2018 algorithm
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
10:
TRETS algorithm
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
11:
a new exact matching
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
8: hierarchical matching
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
9:
adjustable algorithm (heuristic)
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
10:
adjustable algorithm (exact)
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
11:
new cost-aware exact algorithm
by XueGong Zhou at Fudan University, Shanghai
\n
"
);
Abc_Print
(
-
2
,
"
\t
-N <num> : the number of support variables (binary files only) [default = unused]
\n
"
);
Abc_Print
(
-
2
,
"
\t
-d : toggle dumping resulting functions into a file [default = %s]
\n
"
,
fDumpRes
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-b : toggle dumping in binary format [default = %s]
\n
"
,
fBinary
?
"yes"
:
"no"
);
src/base/abci/abcNpn.c
View file @
20bb8948
...
...
@@ -203,11 +203,11 @@ void Abc_TruthNpnPerform( Abc_TtStore_t * p, int NpnType, int fVerbose )
else
if
(
NpnType
==
8
)
pAlgoName
=
"new adap. matching "
;
else
if
(
NpnType
==
9
)
pAlgoName
=
"
FPL 2018 algorithm
"
;
pAlgoName
=
"
adjustable algorithm (heuristic)
"
;
else
if
(
NpnType
==
10
)
pAlgoName
=
"
TRETS algorithm
"
;
pAlgoName
=
"
adjustable algorithm (exact)
"
;
else
if
(
NpnType
==
11
)
pAlgoName
=
"new
exact algorithm
"
;
pAlgoName
=
"new
cost-aware exact algorithm
"
;
assert
(
p
->
nVars
<=
16
);
if
(
pAlgoName
)
...
...
@@ -346,11 +346,11 @@ void Abc_TruthNpnPerform( Abc_TtStore_t * p, int NpnType, int fVerbose )
if
(
fVerbose
)
printf
(
"%7d : "
,
i
);
if
(
NpnType
==
9
)
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicizeAda
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
1
00
);
// FPL2018 algorithm
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicizeAda
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
1
25
);
// -A 8, adjustable algorithm (heuristic)
else
if
(
NpnType
==
10
)
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicizeAda
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
11
00
);
// TRETS algorithm
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicizeAda
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
11
99
);
// -A 9, adjustable algorithm (exact)
else
if
(
NpnType
==
11
)
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicize
Ada
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
0
);
// the new
exact algorithm
uCanonPhase
=
Abc_TtCanonicizeWrap
(
Abc_TtCanonicize
CA
,
pMan
,
p
->
pFuncs
[
i
],
p
->
nVars
,
pCanonPerm
,
1
);
// -A 10, new cost-aware
exact algorithm
if
(
fVerbose
)
Extra_PrintHex
(
stdout
,
(
unsigned
*
)
p
->
pFuncs
[
i
],
p
->
nVars
),
Abc_TruthNpnPrint
(
pCanonPerm
,
uCanonPhase
,
p
->
nVars
),
printf
(
"
\n
"
);
}
...
...
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