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
4ffbd0b2
Commit
4ffbd0b2
authored
May 13, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding switch -r to &dch to prevent combo-loops.
parent
5b6e5b81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/base/abci/abc.c
+7
-3
No files found.
src/base/abci/abc.c
View file @
4ffbd0b2
...
@@ -9013,7 +9013,7 @@ int Abc_CommandExpand( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -9013,7 +9013,7 @@ int Abc_CommandExpand( Abc_Frame_t * pAbc, int argc, char ** argv )
extern
Gia_Man_t
*
Abc_NtkClpGia
(
Abc_Ntk_t
*
pNtk
);
extern
Gia_Man_t
*
Abc_NtkClpGia
(
Abc_Ntk_t
*
pNtk
);
extern
void
Abc_NtkExpandCubes
(
Abc_Ntk_t
*
pNtk
,
Gia_Man_t
*
pGia
,
int
fVerbose
);
extern
void
Abc_NtkExpandCubes
(
Abc_Ntk_t
*
pNtk
,
Gia_Man_t
*
pGia
,
int
fVerbose
);
Abc_Ntk_t
*
pStrash
,
*
pNtk2
,
*
pNtk
=
Abc_FrameReadNtk
(
pAbc
);
Abc_Ntk_t
*
pStrash
,
*
pNtk2
,
*
pNtk
=
Abc_FrameReadNtk
(
pAbc
);
Gia_Man_t
*
pGia
;
int
c
,
fVerbose
;
Gia_Man_t
*
pGia
;
int
c
,
fVerbose
=
0
;
Extra_UtilGetoptReset
();
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"vh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"vh"
)
)
!=
EOF
)
{
{
...
@@ -35661,7 +35661,7 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -35661,7 +35661,7 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
// set defaults
// set defaults
Dch_ManSetDefaultParams
(
pPars
);
Dch_ManSetDefaultParams
(
pPars
);
Extra_UtilGetoptReset
();
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"WCSsptfvh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"WCSsptf
r
vh"
)
)
!=
EOF
)
{
{
switch
(
c
)
switch
(
c
)
{
{
...
@@ -35710,6 +35710,9 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -35710,6 +35710,9 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
case
'f'
:
case
'f'
:
pPars
->
fLightSynth
^=
1
;
pPars
->
fLightSynth
^=
1
;
break
;
break
;
case
'r'
:
pPars
->
fSkipRedSupp
^=
1
;
break
;
case
'v'
:
case
'v'
:
pPars
->
fVerbose
^=
1
;
pPars
->
fVerbose
^=
1
;
break
;
break
;
...
@@ -35734,7 +35737,7 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -35734,7 +35737,7 @@ int Abc_CommandAbc9Dch( Abc_Frame_t * pAbc, int argc, char ** argv )
return
0
;
return
0
;
usage:
usage:
Abc_Print
(
-
2
,
"usage: &dch [-WCS num] [-sptfvh]
\n
"
);
Abc_Print
(
-
2
,
"usage: &dch [-WCS num] [-sptf
r
vh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
computes structural choices using a new approach
\n
"
);
Abc_Print
(
-
2
,
"
\t
computes structural choices using a new approach
\n
"
);
Abc_Print
(
-
2
,
"
\t
-W num : the max number of simulation words [default = %d]
\n
"
,
pPars
->
nWords
);
Abc_Print
(
-
2
,
"
\t
-W num : the max number of simulation words [default = %d]
\n
"
,
pPars
->
nWords
);
Abc_Print
(
-
2
,
"
\t
-C num : the max number of conflicts at a node [default = %d]
\n
"
,
pPars
->
nBTLimit
);
Abc_Print
(
-
2
,
"
\t
-C num : the max number of conflicts at a node [default = %d]
\n
"
,
pPars
->
nBTLimit
);
...
@@ -35743,6 +35746,7 @@ usage:
...
@@ -35743,6 +35746,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-p : toggle power-aware rewriting [default = %s]
\n
"
,
pPars
->
fPower
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-p : toggle power-aware rewriting [default = %s]
\n
"
,
pPars
->
fPower
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-t : toggle simulation of the TFO classes [default = %s]
\n
"
,
pPars
->
fSimulateTfo
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-t : toggle simulation of the TFO classes [default = %s]
\n
"
,
pPars
->
fSimulateTfo
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-f : toggle using lighter logic synthesis [default = %s]
\n
"
,
pPars
->
fLightSynth
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-f : toggle using lighter logic synthesis [default = %s]
\n
"
,
pPars
->
fLightSynth
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-r : toggle skipping choices with redundant support [default = %s]
\n
"
,
pPars
->
fSkipRedSupp
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle verbose printout [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle verbose printout [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
return
1
;
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