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
7a9311ee
Commit
7a9311ee
authored
Dec 14, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding experimental command.
parent
53d4d651
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
src/aig/gia/giaDeep.c
+1
-1
src/base/abci/abc.c
+17
-5
No files found.
src/aig/gia/giaDeep.c
View file @
7a9311ee
...
...
@@ -43,7 +43,7 @@ ABC_NAMESPACE_IMPL_START
SeeAlso []
***********************************************************************/
Gia_Man_t
*
Gia_ManDeepSyn
(
Gia_Man_t
*
pGia
,
int
TimeOut
,
int
nAnds
,
int
fVerbose
)
Gia_Man_t
*
Gia_ManDeepSyn
(
Gia_Man_t
*
pGia
,
int
TimeOut
,
int
nAnds
,
int
Seed
,
int
fVerbose
)
{
return
NULL
;
}
...
...
src/base/abci/abc.c
View file @
7a9311ee
...
...
@@ -44897,10 +44897,10 @@ usage:
***********************************************************************/
int
Abc_CommandAbc9DeepSyn
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
extern
Gia_Man_t
*
Gia_ManDeepSyn
(
Gia_Man_t
*
pGia
,
int
TimeOut
,
int
nAnds
,
int
fVerbose
);
Gia_Man_t
*
pTemp
;
int
c
,
TimeOut
=
0
,
nAnds
=
0
,
fVerbose
=
0
;
extern
Gia_Man_t
*
Gia_ManDeepSyn
(
Gia_Man_t
*
pGia
,
int
TimeOut
,
int
nAnds
,
int
Seed
,
int
fVerbose
);
Gia_Man_t
*
pTemp
;
int
c
,
TimeOut
=
0
,
nAnds
=
0
,
Seed
=
0
,
fVerbose
=
0
;
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"TAvh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"TA
S
vh"
)
)
!=
EOF
)
{
switch
(
c
)
{
...
...
@@ -44926,6 +44926,17 @@ int Abc_CommandAbc9DeepSyn( Abc_Frame_t * pAbc, int argc, char ** argv )
if
(
nAnds
<
0
)
goto
usage
;
break
;
case
'S'
:
if
(
globalUtilOptind
>=
argc
)
{
Abc_Print
(
-
1
,
"Command line switch
\"
-S
\"
should be followed by an integer.
\n
"
);
goto
usage
;
}
Seed
=
atoi
(
argv
[
globalUtilOptind
]);
globalUtilOptind
++
;
if
(
Seed
<
0
)
goto
usage
;
break
;
case
'v'
:
fVerbose
^=
1
;
break
;
...
...
@@ -44940,15 +44951,16 @@ int Abc_CommandAbc9DeepSyn( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print
(
-
1
,
"Abc_CommandAbc9DeepSyn(): There is no AIG.
\n
"
);
return
0
;
}
pTemp
=
Gia_ManDeepSyn
(
pAbc
->
pGia
,
TimeOut
,
nAnds
,
fVerbose
);
pTemp
=
Gia_ManDeepSyn
(
pAbc
->
pGia
,
TimeOut
,
nAnds
,
Seed
,
fVerbose
);
Abc_FrameUpdateGia
(
pAbc
,
pTemp
);
return
0
;
usage:
Abc_Print
(
-
2
,
"usage: &deepsyn [-TA <num>] [-vh]
\n
"
);
Abc_Print
(
-
2
,
"usage: &deepsyn [-TA
S
<num>] [-vh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
performs synthesis
\n
"
);
Abc_Print
(
-
2
,
"
\t
-T <num> : the timeout in seconds (0 = no timeout) [default = %d]
\n
"
,
TimeOut
);
Abc_Print
(
-
2
,
"
\t
-A <num> : the number of nodes to stop (0 = no limit) [default = %d]
\n
"
,
nAnds
);
Abc_Print
(
-
2
,
"
\t
-S <num> : user-specified random seed (0 <= num <= 100) [default = %d]
\n
"
,
Seed
);
Abc_Print
(
-
2
,
"
\t
-v : toggle printing optimization summary [default = %s]
\n
"
,
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
return
1
;
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