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
27208922
Commit
27208922
authored
Mar 27, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing hard-coded limit on the number of solving iterations in command 'qbf'.
parent
e64cad10
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/base/abci/abc.c
+1
-1
src/base/abci/abcQbf.c
+3
-3
No files found.
src/base/abci/abc.c
View file @
27208922
...
...
@@ -11565,7 +11565,7 @@ int Abc_CommandQbf( Abc_Frame_t * pAbc, int argc, char ** argv )
extern
void
Abc_NtkQbf
(
Abc_Ntk_t
*
pNtk
,
int
nPars
,
int
nIters
,
int
fVerbose
);
// set defaults
nPars
=
-
1
;
nIters
=
-
1
;
nIters
=
500
;
fVerbose
=
1
;
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"PIvh"
)
)
!=
EOF
)
...
...
src/base/abci/abcQbf.c
View file @
27208922
...
...
@@ -65,7 +65,7 @@ void Abc_NtkQbf( Abc_Ntk_t * pNtk, int nPars, int nItersMax, int fVerbose )
Abc_Ntk_t
*
pNtkVer
,
*
pNtkSyn
,
*
pNtkSyn2
,
*
pNtkTemp
;
Vec_Int_t
*
vPiValues
;
clock_t
clkTotal
=
clock
(),
clkS
,
clkV
;
int
nIters
,
nI
terMax
=
500
,
nI
nputs
,
RetValue
,
fFound
=
0
;
int
nIters
,
nInputs
,
RetValue
,
fFound
=
0
;
assert
(
Abc_NtkIsStrash
(
pNtk
)
);
assert
(
Abc_NtkIsComb
(
pNtk
)
);
...
...
@@ -96,7 +96,7 @@ void Abc_NtkQbf( Abc_Ntk_t * pNtk, int nPars, int nItersMax, int fVerbose )
}
// iteratively solve
for
(
nIters
=
0
;
nIters
<
nIterMax
;
nIters
++
)
for
(
nIters
=
0
;
nIters
<
nIter
s
Max
;
nIters
++
)
{
// solve the synthesis instance
clkS
=
clock
();
...
...
@@ -170,7 +170,7 @@ clkV = clock() - clkV;
printf
(
"
\n
"
);
printf
(
"Solved after %d interations. "
,
nIters
);
}
else
if
(
nIters
==
nIterMax
)
else
if
(
nIters
==
nIter
s
Max
)
printf
(
"Unsolved after %d interations. "
,
nIters
);
else
if
(
nIters
==
nItersMax
)
printf
(
"Quit after %d interatios. "
,
nItersMax
);
...
...
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