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
cb66aa42
Commit
cb66aa42
authored
Aug 02, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scalable gate-level abstraction.
parent
b939e160
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
src/aig/gia/gia.h
+1
-0
src/aig/gia/giaAbsGla2.c
+3
-2
src/base/abci/abc.c
+6
-2
No files found.
src/aig/gia/gia.h
View file @
cb66aa42
...
...
@@ -230,6 +230,7 @@ struct Gia_ParVta_t_
int
fDumpVabs
;
// dumps the abstracted model
char
*
pFileVabs
;
// dumps the abstracted model into this file
int
fVerbose
;
// verbose flag
int
fVeryVerbose
;
int
iFrame
;
// the number of frames covered
int
nFramesNoChange
;
// the number of last frames without changes
};
...
...
src/aig/gia/giaAbsGla2.c
View file @
cb66aa42
...
...
@@ -1375,7 +1375,7 @@ void Ga2_ManAbsPrintFrame( Ga2_Man_t * p, int nFrames, int nConfls, int nCexes,
Abc_PrintInt
(
sat_solver2_nlearnts
(
p
->
pSat
)
);
Abc_Print
(
1
,
"%9.2f sec"
,
1
.
0
*
Time
/
CLOCKS_PER_SEC
);
Abc_Print
(
1
,
"%5.1f GB"
,
(
sat_solver2_memory_proof
(
p
->
pSat
)
+
sat_solver2_memory
(
p
->
pSat
,
0
))
/
(
1
<<
30
)
);
Abc_Print
(
1
,
"%s"
,
(
fFinal
&&
nCexes
)
?
"
\n
"
:
"
\r
"
);
Abc_Print
(
1
,
"%s"
,
(
(
fFinal
&&
nCexes
)
||
p
->
pPars
->
fVeryVerbose
)
?
"
\n
"
:
"
\r
"
);
fflush
(
stdout
);
}
...
...
@@ -1639,7 +1639,8 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
}
iFrameProved
=
f
;
// printf( "\n" );
if
(
p
->
pPars
->
fVeryVerbose
)
Abc_Print
(
1
,
"
\n
"
);
break
;
// temporary
}
}
...
...
src/base/abci/abc.c
View file @
cb66aa42
...
...
@@ -28112,7 +28112,7 @@ int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv )
int
c
,
fStartVta
=
0
,
fNewAlgo
=
0
;
Gia_VtaSetDefaultParams
(
pPars
);
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"FSPCLDETRAtrfkadnscbvh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"FSPCLDETRAtrfkadnscb
w
vh"
)
)
!=
EOF
)
{
switch
(
c
)
{
...
...
@@ -28257,6 +28257,9 @@ int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv )
case
'v'
:
pPars
->
fVerbose
^=
1
;
break
;
case
'w'
:
pPars
->
fVeryVerbose
^=
1
;
break
;
case
'h'
:
goto
usage
;
default:
...
...
@@ -28299,7 +28302,7 @@ int Abc_CommandAbc9Gla( Abc_Frame_t * pAbc, int argc, char ** argv )
return
0
;
usage:
Abc_Print
(
-
2
,
"usage: &gla [-FSCLDETR num] [-A file] [-fkadnscbvh]
\n
"
);
Abc_Print
(
-
2
,
"usage: &gla [-FSCLDETR num] [-A file] [-fkadnscb
w
vh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
fixed-time-frame gate-level proof- and cex-based abstraction
\n
"
);
Abc_Print
(
-
2
,
"
\t
-F num : the max number of timeframes to unroll [default = %d]
\n
"
,
pPars
->
nFramesMax
);
Abc_Print
(
-
2
,
"
\t
-S num : the starting time frame (0=unused) [default = %d]
\n
"
,
pPars
->
nFramesStart
);
...
...
@@ -28319,6 +28322,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-c : toggle using naive (2-input AND node) CNF encoding [default = %s]
\n
"
,
pPars
->
fUseSimple
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-b : toggle using hashing during CNF construction [default = %s]
\n
"
,
pPars
->
fUseHash
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle printing verbose information [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-w : toggle printing more verbose information [default = %s]
\n
"
,
pPars
->
fVeryVerbose
?
"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