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
0fc56e71
Commit
0fc56e71
authored
Apr 26, 2022
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiments with word-level data structures.
parent
c68fcae4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/base/wln/wlnCom.c
+4
-4
src/base/wln/wlnRead.c
+0
-0
No files found.
src/base/wln/wlnCom.c
View file @
0fc56e71
...
...
@@ -220,7 +220,7 @@ usage:
******************************************************************************/
int
Abc_CommandGraft
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
extern
void
Wln_LibGraftOne
(
Rtl_Lib_t
*
p
,
char
*
pModule1
,
char
*
pModule2
,
int
fInv
,
int
fVerbose
);
extern
void
Wln_LibGraftOne
(
Rtl_Lib_t
*
p
,
char
*
*
pModules
,
int
nModules
,
int
fInv
,
int
fVerbose
);
Rtl_Lib_t
*
pLib
=
Wln_AbcGetRtl
(
pAbc
);
char
**
pArgvNew
;
int
nArgcNew
;
int
c
,
fInv
=
0
,
fVerbose
=
0
;
...
...
@@ -248,12 +248,12 @@ int Abc_CommandGraft( Abc_Frame_t * pAbc, int argc, char ** argv )
}
pArgvNew
=
argv
+
globalUtilOptind
;
nArgcNew
=
argc
-
globalUtilOptind
;
if
(
nArgcNew
!=
2
)
if
(
nArgcNew
!=
0
&&
nArgcNew
!=
2
)
{
Abc_Print
(
-
1
,
"Abc_CommandGraft(): This command expects one AIG file name on the command line.
\n
"
);
return
1
;
}
Wln_LibGraftOne
(
pLib
,
pArgvNew
[
0
],
pArgvNew
[
1
]
,
fInv
,
fVerbose
);
Wln_LibGraftOne
(
pLib
,
pArgvNew
,
nArgcNew
,
fInv
,
fVerbose
);
return
0
;
usage:
Abc_Print
(
-
2
,
"usage: %%graft [-ivh] <module1_name> <module2_name>
\n
"
);
...
...
@@ -302,7 +302,7 @@ int Abc_CommandHierarchy( Abc_Frame_t * pAbc, int argc, char ** argv )
}
pArgvNew
=
argv
+
globalUtilOptind
;
nArgcNew
=
argc
-
globalUtilOptind
;
if
(
nArgcNew
<
1
)
if
(
nArgcNew
<
0
)
{
Abc_Print
(
-
1
,
"Abc_CommandHierarchy(): This command expects one AIG file name on the command line.
\n
"
);
return
1
;
...
...
src/base/wln/wlnRead.c
View file @
0fc56e71
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