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
679e38b0
Commit
679e38b0
authored
Mar 31, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making per-output timeout in bmc3 -a and pdr -a work in CLOCKS_PER_SECs instead of miliseconds.
parent
90867a64
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/base/abci/abc.c
+2
-2
src/proof/pdr/pdrMan.c
+1
-1
src/sat/bmc/bmcBmc3.c
+2
-2
No files found.
src/base/abci/abc.c
View file @
679e38b0
...
...
@@ -21746,7 +21746,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-S num : the starting time frame [default = %d]
\n
"
,
pPars
->
nStart
);
Abc_Print
(
-
2
,
"
\t
-F num : the max number of time frames (0 = unused) [default = %d]
\n
"
,
pPars
->
nFramesMax
);
Abc_Print
(
-
2
,
"
\t
-T num : runtime limit, in seconds [default = %d]
\n
"
,
pPars
->
nTimeOut
);
Abc_Print
(
-
2
,
"
\t
-H num : runtime limit per output, in
milisecond
s (with
\"
-a
\"
) [default = %d]
\n
"
,
pPars
->
nTimeOutOne
);
Abc_Print
(
-
2
,
"
\t
-H num : runtime limit per output, in
CLOCKS_PER_SEC
s (with
\"
-a
\"
) [default = %d]
\n
"
,
pPars
->
nTimeOutOne
);
Abc_Print
(
-
2
,
"
\t
-G num : runtime gap since the last CEX, in seconds [default = %d]
\n
"
,
pPars
->
nTimeOutGap
);
Abc_Print
(
-
2
,
"
\t
-C num : max conflicts at an output [default = %d]
\n
"
,
pPars
->
nConfLimit
);
Abc_Print
(
-
2
,
"
\t
-D num : max conflicts after jumping (0 = infinity) [default = %d]
\n
"
,
pPars
->
nConfLimitJump
);
...
...
@@ -23588,7 +23588,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-C num : limit on conflicts in one SAT call (0 = no limit) [default = %d]
\n
"
,
pPars
->
nConfLimit
);
Abc_Print
(
-
2
,
"
\t
-R num : limit on proof obligations before a restart (0 = no limit) [default = %d]
\n
"
,
pPars
->
nRestLimit
);
Abc_Print
(
-
2
,
"
\t
-T num : runtime limit, in seconds (0 = no limit) [default = %d]
\n
"
,
pPars
->
nTimeOut
);
Abc_Print
(
-
2
,
"
\t
-H num : runtime limit per output, in
miliseconds (with
\"
-a
\"
) [default = %d]
\n
"
,
pPars
->
nTimeOutOne
);
Abc_Print
(
-
2
,
"
\t
-H num : runtime limit per output, in
CLOCKS_PER_SECs (with
\"
-a
\"
) [default = %d]
\n
"
,
pPars
->
nTimeOutOne
);
Abc_Print
(
-
2
,
"
\t
-G num : runtime gap since the last CEX (0 = no limit) [default = %d]
\n
"
,
pPars
->
nTimeOutGap
);
Abc_Print
(
-
2
,
"
\t
-a : toggle solving all outputs even if one of them is SAT [default = %s]
\n
"
,
pPars
->
fSolveAll
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-x : toggle storing CEXes when solving all outputs [default = %s]
\n
"
,
pPars
->
fStoreCex
?
"yes"
:
"no"
);
src/proof/pdr/pdrMan.c
View file @
679e38b0
...
...
@@ -81,7 +81,7 @@ Pdr_Man_t * Pdr_ManStart( Aig_Man_t * pAig, Pdr_Par_t * pPars, Vec_Int_t * vPrio
int
i
;
p
->
pTime4Outs
=
ABC_ALLOC
(
abctime
,
Saig_ManPoNum
(
pAig
)
);
for
(
i
=
0
;
i
<
Saig_ManPoNum
(
pAig
);
i
++
)
p
->
pTime4Outs
[
i
]
=
pPars
->
nTimeOutOne
*
CLOCKS_PER_SEC
/
1000
+
1
;
p
->
pTime4Outs
[
i
]
=
pPars
->
nTimeOutOne
;
}
if
(
pPars
->
fSolveAll
)
{
...
...
src/sat/bmc/bmcBmc3.c
View file @
679e38b0
...
...
@@ -757,7 +757,7 @@ Gia_ManBmc_t * Saig_Bmc3ManStart( Aig_Man_t * pAig, int nTimeOutOne )
{
p
->
pTime4Outs
=
ABC_ALLOC
(
abctime
,
Saig_ManPoNum
(
pAig
)
);
for
(
i
=
0
;
i
<
Saig_ManPoNum
(
pAig
);
i
++
)
p
->
pTime4Outs
[
i
]
=
nTimeOutOne
*
CLOCKS_PER_SEC
/
1000
+
1
;
p
->
pTime4Outs
[
i
]
=
nTimeOutOne
;
}
return
p
;
}
...
...
@@ -1448,7 +1448,7 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars )
// stop BMC if all targets are solved
if
(
pPars
->
fSolveAll
&&
pPars
->
nFailOuts
+
pPars
->
nDropOuts
>=
Saig_ManPoNum
(
pAig
)
)
{
Abc_Print
(
1
,
"Stopping BMC because all targets are disproved.
\n
"
);
Abc_Print
(
1
,
"Stopping BMC because all targets are disproved
or timed out
.
\n
"
);
RetValue
=
pPars
->
nFailOuts
?
0
:
1
;
goto
finish
;
}
...
...
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