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
3401ed36
Commit
3401ed36
authored
Apr 09, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
%pdra: added top level callbacks
parent
72c23923
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
src/base/wlc/wlc.h
+2
-0
src/base/wlc/wlcAbs.c
+3
-1
No files found.
src/base/wlc/wlc.h
View file @
3401ed36
...
@@ -185,6 +185,8 @@ struct Wlc_Par_t_
...
@@ -185,6 +185,8 @@ struct Wlc_Par_t_
int
fShrinkScratch
;
// Restart pdr from scratch after shrinking
int
fShrinkScratch
;
// Restart pdr from scratch after shrinking
int
fVerbose
;
// verbose output
int
fVerbose
;
// verbose output
int
fPdrVerbose
;
// verbose output
int
fPdrVerbose
;
// verbose output
int
RunId
;
// id in this run
int
(
*
pFuncStop
)(
int
);
// callback to terminate
};
};
typedef
struct
Wla_Man_t_
Wla_Man_t
;
typedef
struct
Wla_Man_t_
Wla_Man_t
;
...
...
src/base/wlc/wlcAbs.c
View file @
3401ed36
...
@@ -1659,6 +1659,8 @@ Wla_Man_t * Wla_ManStart( Wlc_Ntk_t * pNtk, Wlc_Par_t * pPars )
...
@@ -1659,6 +1659,8 @@ Wla_Man_t * Wla_ManStart( Wlc_Ntk_t * pNtk, Wlc_Par_t * pPars )
Pdr_ManSetDefaultParams
(
pPdrPars
);
Pdr_ManSetDefaultParams
(
pPdrPars
);
pPdrPars
->
fVerbose
=
pPars
->
fPdrVerbose
;
pPdrPars
->
fVerbose
=
pPars
->
fPdrVerbose
;
pPdrPars
->
fVeryVerbose
=
0
;
pPdrPars
->
fVeryVerbose
=
0
;
pPdrPars
->
pFuncStop
=
pPars
->
pFuncStop
;
pPdrPars
->
RunId
=
pPars
->
RunId
;
if
(
pPars
->
fPdra
)
if
(
pPars
->
fPdra
)
{
{
pPdrPars
->
fUseAbs
=
1
;
// use 'pdr -t' (on-the-fly abstraction)
pPdrPars
->
fUseAbs
=
1
;
// use 'pdr -t' (on-the-fly abstraction)
...
@@ -1713,7 +1715,7 @@ int Wla_ManSolve( Wla_Man_t * pWla, Wlc_Par_t * pPars )
...
@@ -1713,7 +1715,7 @@ int Wla_ManSolve( Wla_Man_t * pWla, Wlc_Par_t * pPars )
RetValue
=
Wla_ManSolveInt
(
pWla
,
pAig
);
RetValue
=
Wla_ManSolveInt
(
pWla
,
pAig
);
Aig_ManStop
(
pAig
);
Aig_ManStop
(
pAig
);
if
(
RetValue
!=
-
1
)
if
(
RetValue
!=
-
1
||
pPars
->
pFuncStop
(
pPars
->
RunId
)
)
break
;
break
;
Wla_ManRefine
(
pWla
);
Wla_ManRefine
(
pWla
);
...
...
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