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
819b41bb
Commit
819b41bb
authored
Sep 17, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed timeout problem in bmc3 -s.
parent
790ea654
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
src/aig/saig/saigBmc3.c
+7
-12
No files found.
src/aig/saig/saigBmc3.c
View file @
819b41bb
...
...
@@ -1392,6 +1392,13 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars )
{
if
(
i
>=
Saig_ManPoNum
(
pAig
)
)
break
;
// check for timeout
if
(
pPars
->
nTimeOut
&&
clock
()
>
nTimeToStop
)
{
printf
(
"Reached timeout (%d seconds).
\n
"
,
pPars
->
nTimeOut
);
Saig_Bmc3ManStop
(
p
);
return
RetValue
;
}
// skip solved outputs
if
(
p
->
vCexes
&&
Vec_PtrEntry
(
p
->
vCexes
,
i
)
)
continue
;
...
...
@@ -1496,12 +1503,6 @@ clkOther += clock() - clk2;
else
{
assert
(
status
==
l_Undef
);
if
(
pPars
->
nTimeOut
&&
clock
()
>
nTimeToStop
)
{
printf
(
"Reached timeout (%d seconds).
\n
"
,
pPars
->
nTimeOut
);
Saig_Bmc3ManStop
(
p
);
return
RetValue
;
}
if
(
pPars
->
nFramesJump
)
{
pPars
->
nConfLimit
=
pPars
->
nConfLimitJump
;
...
...
@@ -1512,12 +1513,6 @@ clkOther += clock() - clk2;
Saig_Bmc3ManStop
(
p
);
return
RetValue
;
}
if
(
pPars
->
nTimeOut
&&
clock
()
>
nTimeToStop
)
{
printf
(
"Reached timeout (%d seconds).
\n
"
,
pPars
->
nTimeOut
);
Saig_Bmc3ManStop
(
p
);
return
RetValue
;
}
}
if
(
pPars
->
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