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
78af793b
Commit
78af793b
authored
May 21, 2019
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to the interface of &cfs.
parent
caa120c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/base/abci/abc.c
+4
-4
src/misc/extra/extraUtilCfs.c
+1
-1
No files found.
src/base/abci/abc.c
View file @
78af793b
...
@@ -45756,7 +45756,7 @@ usage:
...
@@ -45756,7 +45756,7 @@ usage:
***********************************************************************/
***********************************************************************/
int
Abc_CommandAbc9Cfs
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
int
Abc_CommandAbc9Cfs
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
{
extern
void
Extra_CommandCfs
(
Gia_Man_t
*
pGia
,
int
Limit
,
int
Reps
,
int
UnseenUse
,
int
RareUse
,
int
fReplaceRare
,
int
fConstSim
,
int
fDagNodes
,
in
t
FlipProb
,
int
fVerbose
);
extern
void
Extra_CommandCfs
(
Gia_Man_t
*
pGia
,
int
Limit
,
int
Reps
,
int
UnseenUse
,
int
RareUse
,
int
fReplaceRare
,
int
fConstSim
,
int
fDagNodes
,
floa
t
FlipProb
,
int
fVerbose
);
int
Limit
=
0
;
int
Limit
=
0
;
int
Reps
=
1
;
int
Reps
=
1
;
int
UnseenUse
=
2
;
int
UnseenUse
=
2
;
...
@@ -45764,7 +45764,7 @@ int Abc_CommandAbc9Cfs( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -45764,7 +45764,7 @@ int Abc_CommandAbc9Cfs( Abc_Frame_t * pAbc, int argc, char ** argv )
int
fReplaceRare
=
0
;
int
fReplaceRare
=
0
;
int
fConstSim
=
0
;
int
fConstSim
=
0
;
int
fDagNodes
=
0
;
int
fDagNodes
=
0
;
int
FlipProb
=
0
;
float
FlipProb
=
0
;
int
c
,
fVerbose
=
0
;
int
c
,
fVerbose
=
0
;
Extra_UtilGetoptReset
();
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"LNURPrcdvh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"LNURPrcdvh"
)
)
!=
EOF
)
...
@@ -45821,7 +45821,7 @@ int Abc_CommandAbc9Cfs( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -45821,7 +45821,7 @@ int Abc_CommandAbc9Cfs( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print
(
-
1
,
"Command line switch
\"
-P
\"
should be followed by an integer.
\n
"
);
Abc_Print
(
-
1
,
"Command line switch
\"
-P
\"
should be followed by an integer.
\n
"
);
goto
usage
;
goto
usage
;
}
}
FlipProb
=
ato
i
(
argv
[
globalUtilOptind
]);
FlipProb
=
ato
f
(
argv
[
globalUtilOptind
]);
globalUtilOptind
++
;
globalUtilOptind
++
;
if
(
FlipProb
<
0
)
if
(
FlipProb
<
0
)
goto
usage
;
goto
usage
;
...
@@ -45859,7 +45859,7 @@ usage:
...
@@ -45859,7 +45859,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-N num : the number of repetions of each pattern [default = %d]
\n
"
,
Reps
);
Abc_Print
(
-
2
,
"
\t
-N num : the number of repetions of each pattern [default = %d]
\n
"
,
Reps
);
Abc_Print
(
-
2
,
"
\t
-U num : what to do with unseen patterns [default = %d]
\n
"
,
UnseenUse
);
Abc_Print
(
-
2
,
"
\t
-U num : what to do with unseen patterns [default = %d]
\n
"
,
UnseenUse
);
Abc_Print
(
-
2
,
"
\t
-R num : what to do with rare patterns [default = %d]
\n
"
,
RareUse
);
Abc_Print
(
-
2
,
"
\t
-R num : what to do with rare patterns [default = %d]
\n
"
,
RareUse
);
Abc_Print
(
-
2
,
"
\t
-P num :
ramdom flip probability [default = %d]
\n
"
,
FlipProb
);
Abc_Print
(
-
2
,
"
\t
-P num :
base2-log of ramdom flip probability [default = %f]
\n
"
,
FlipProb
);
Abc_Print
(
-
2
,
"
\t
-r : toggle replacing rare patterns [default = %s]
\n
"
,
fReplaceRare
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-r : toggle replacing rare patterns [default = %s]
\n
"
,
fReplaceRare
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-c : toggle inserting constants [default = %s]
\n
"
,
fConstSim
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-c : toggle inserting constants [default = %s]
\n
"
,
fConstSim
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-d : toggle using only DAG nodes [default = %s]
\n
"
,
fDagNodes
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-d : toggle using only DAG nodes [default = %s]
\n
"
,
fDagNodes
?
"yes"
:
"no"
);
src/misc/extra/extraUtilCfs.c
View file @
78af793b
...
@@ -48,7 +48,7 @@ ABC_NAMESPACE_IMPL_START
...
@@ -48,7 +48,7 @@ ABC_NAMESPACE_IMPL_START
SeeAlso []
SeeAlso []
***********************************************************************/
***********************************************************************/
void
Extra_CommandCfs
(
Gia_Man_t
*
pGia
,
int
Limit
,
int
Reps
,
int
UnseenUse
,
int
RareUse
,
int
fReplaceRare
,
int
fConstSim
,
int
fDagNodes
,
in
t
FlipProb
,
int
fVerbose
)
void
Extra_CommandCfs
(
Gia_Man_t
*
pGia
,
int
Limit
,
int
Reps
,
int
UnseenUse
,
int
RareUse
,
int
fReplaceRare
,
int
fConstSim
,
int
fDagNodes
,
floa
t
FlipProb
,
int
fVerbose
)
{
{
}
}
...
...
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