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
ca7c8011
Commit
ca7c8011
authored
Mar 30, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improving verbose printout of 'sim3' when solving multiple outputs.
parent
be8125f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
src/base/abci/abc.c
+3
-3
src/proof/ssw/sswRarity.c
+14
-6
No files found.
src/base/abci/abc.c
View file @
ca7c8011
...
...
@@ -17904,7 +17904,7 @@ int Abc_CommandSim3( Abc_Frame_t * pAbc, int argc, char ** argv )
int
nWords
=
50
;
int
nBinSize
=
8
;
int
nRounds
=
0
;
int
nRestart
=
10
0
;
int
nRestart
=
0
;
int
nRandSeed
=
0
;
int
TimeOut
=
0
;
int
TimeOutGap
=
0
;
...
...
@@ -24884,7 +24884,7 @@ int Abc_CommandAbc9Sim3( Abc_Frame_t * pAbc, int argc, char ** argv )
nWords
=
50
;
nBinSize
=
8
;
nRounds
=
0
;
nRestart
=
10
0
;
nRestart
=
0
;
nRandSeed
=
0
;
TimeOut
=
0
;
TimeOutGap
=
0
;
...
...
@@ -25449,7 +25449,7 @@ int Abc_CommandAbc9Equiv3( Abc_Frame_t * pAbc, int argc, char ** argv )
int
nWords
=
50
;
int
nBinSize
=
8
;
int
nRounds
=
0
;
int
nRestart
=
10
0
;
int
nRestart
=
0
;
int
nRandSeed
=
0
;
int
TimeOut
=
0
;
int
fMiter
=
0
;
...
...
src/proof/ssw/sswRarity.c
View file @
ca7c8011
...
...
@@ -965,8 +965,8 @@ int Ssw_RarSimulate( Aig_Man_t * pAig, int nFrames, int nWords, int nBinSize, in
// if ( fMiter && Ssw_RarCheckTrivial( pAig, fVerbose ) )
// return 0;
if
(
fVerbose
)
Abc_Print
(
1
,
"Rarity simulation with %d words, %d frames, %d rounds, %d seed, and %d sec timeout.
\n
"
,
nWords
,
nFrames
,
nRounds
,
nRandSeed
,
TimeOut
);
Abc_Print
(
1
,
"Rarity simulation with %d words, %d frames, %d rounds, %d
restart, %d
seed, and %d sec timeout.
\n
"
,
nWords
,
nFrames
,
nRounds
,
nR
estart
,
nR
andSeed
,
TimeOut
);
// reset random numbers
Ssw_RarManPrepareRandom
(
nSavedSeed
);
...
...
@@ -1043,12 +1043,20 @@ int Ssw_RarSimulate( Aig_Man_t * pAig, int nFrames, int nWords, int nBinSize, in
else
Ssw_RarTransferPatterns
(
p
,
p
->
vInits
);
// printout
if
(
fVerbose
&&
!
fSolveAll
)
if
(
fVerbose
)
{
// Abc_Print( 1, "Round %3d: ", r );
// Abc_PrintTime( 1, "Time", clock() - clk );
Abc_Print
(
1
,
"."
);
if
(
fSolveAll
)
{
Abc_Print
(
1
,
"Starts =%6d "
,
nNumRestart
);
Abc_Print
(
1
,
"Rounds =%6d "
,
nNumRestart
*
nRestart
+
((
r
==-
1
)
?
0
:
r
)
);
Abc_Print
(
1
,
"Frames =%6d "
,
(
nNumRestart
*
nRestart
+
r
)
*
nFrames
);
Abc_Print
(
1
,
"CEX =%6d (%6.2f %%) "
,
nSolved
,
100
.
0
*
nSolved
/
Saig_ManPoNum
(
p
->
pAig
)
);
Abc_PrintTime
(
1
,
"Time"
,
clock
()
-
clkTotal
);
}
else
Abc_Print
(
1
,
"."
);
}
}
finish:
if
(
nSolved
)
...
...
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