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
3c2c19ce
Commit
3c2c19ce
authored
Jul 21, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding new command 'dump_equiv'.
parent
bfe7333f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/base/abci/abc.c
+6
-2
No files found.
src/base/abci/abc.c
View file @
3c2c19ce
...
...
@@ -14817,7 +14817,6 @@ usage:
int
Abc_CommandDumpEquiv
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
extern
void
Abc_NtkDumpEquiv
(
Abc_Ntk_t
*
pNtks
[
2
],
char
*
pFileName
,
int
nConfs
,
int
fVerbose
);
FILE
*
pFile
=
NULL
;
Abc_Ntk_t
*
pNtks
[
2
]
=
{
NULL
};
char
*
pFileName
[
2
],
*
pFileNameOut
;
int
c
,
nConfs
=
1000
,
fVerbose
=
0
;
...
...
@@ -14861,7 +14860,12 @@ int Abc_CommandDumpEquiv( Abc_Frame_t * pAbc, int argc, char ** argv )
goto
usage
;
Abc_NtkToAig
(
pNtks
[
c
]
);
}
Abc_NtkDumpEquiv
(
pNtks
,
pFileNameOut
,
nConfs
,
fVerbose
);
if
(
Abc_NtkCiNum
(
pNtks
[
0
])
!=
Abc_NtkCiNum
(
pNtks
[
1
])
)
Abc_Print
(
-
1
,
"The number of primary inputs of networks
\"
%s
\"
and
\"
%s
\"
does not match.
\n
"
,
Abc_NtkName
(
pNtks
[
0
]),
Abc_NtkName
(
pNtks
[
1
])
);
// else if ( Abc_NtkCoNum(pNtks[0]) != Abc_NtkCoNum(pNtks[1]) )
// Abc_Print( -1, "The number of primary outputs of networks \"%s\" and \"%s\" does not match.\n", Abc_NtkName(pNtks[0]), Abc_NtkName(pNtks[1]) );
else
Abc_NtkDumpEquiv
(
pNtks
,
pFileNameOut
,
nConfs
,
fVerbose
);
Abc_NtkDelete
(
pNtks
[
0
]
);
Abc_NtkDelete
(
pNtks
[
1
]
);
return
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