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
38e5c8c9
Commit
38e5c8c9
authored
Apr 16, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
%pdra: added an option for disabling incremental solving
parent
fea18c2d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
src/base/wlc/wlc.h
+1
-0
src/base/wlc/wlcAbs.c
+1
-0
src/base/wlc/wlcCom.c
+6
-2
src/base/wlc/wlcNtk.c
+1
-0
No files found.
src/base/wlc/wlc.h
View file @
38e5c8c9
...
...
@@ -175,6 +175,7 @@ struct Wlc_Par_t_
int
fPushClauses
;
// Push clauses in the reloaded trace
int
fMFFC
;
// Refine the entire MFFC of a PPI
int
fPdra
;
// Use pdr -nct
int
fLoadTrace
;
// Load previous traces if any
int
fProofRefine
;
// Use proof-based refinement
int
fHybrid
;
// Use a hybrid of CBR and PBR
int
fCheckCombUnsat
;
// Check if ABS becomes comb. unsat
...
...
src/base/wlc/wlcAbs.c
View file @
38e5c8c9
...
...
@@ -1530,6 +1530,7 @@ int Wla_ManSolveInt( Wla_Man_t * pWla, Aig_Man_t * pAig )
RetValue
=
IPdr_ManSolveInt
(
pPdr
,
pWla
->
pPars
->
fCheckClauses
,
pWla
->
pPars
->
fPushClauses
);
pPdr
->
tTotal
+=
Abc_Clock
()
-
clk
;
pWla
->
tPdr
+=
pPdr
->
tTotal
;
if
(
pWla
->
pPars
->
fLoadTrace
)
pWla
->
vClauses
=
IPdr_ManSaveClauses
(
pPdr
,
0
);
Pdr_ManStop
(
pPdr
);
...
...
src/base/wlc/wlcCom.c
View file @
38e5c8c9
...
...
@@ -464,7 +464,7 @@ int Abc_CommandPdrAbs( Abc_Frame_t * pAbc, int argc, char ** argv )
int
c
;
Wlc_ManSetDefaultParams
(
pPars
);
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"AMXFILabrcdipqmstuxvwh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"AMXFILabrcdi
l
pqmstuxvwh"
)
)
!=
EOF
)
{
switch
(
c
)
{
...
...
@@ -555,6 +555,9 @@ int Abc_CommandPdrAbs( Abc_Frame_t * pAbc, int argc, char ** argv )
case
'i'
:
pPars
->
fProofUsePPI
^=
1
;
break
;
case
'l'
:
pPars
->
fLoadTrace
^=
1
;
break
;
case
'p'
:
pPars
->
fPushClauses
^=
1
;
break
;
...
...
@@ -593,7 +596,7 @@ int Abc_CommandPdrAbs( Abc_Frame_t * pAbc, int argc, char ** argv )
Wlc_NtkPdrAbs
(
pNtk
,
pPars
);
return
0
;
usage:
Abc_Print
(
-
2
,
"usage: %%pdra [-AMXFIL num] [-abrcdipqmxstuvwh]
\n
"
);
Abc_Print
(
-
2
,
"usage: %%pdra [-AMXFIL num] [-abrcdi
l
pqmxstuvwh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
abstraction for word-level networks
\n
"
);
Abc_Print
(
-
2
,
"
\t
-A num : minimum bit-width of an adder/subtractor to abstract [default = %d]
\n
"
,
pPars
->
nBitsAdd
);
Abc_Print
(
-
2
,
"
\t
-M num : minimum bit-width of a multiplier to abstract [default = %d]
\n
"
,
pPars
->
nBitsMul
);
...
...
@@ -608,6 +611,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-c : toggle checking clauses in the reloaded trace [default = %s]
\n
"
,
pPars
->
fCheckClauses
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-d : toggle using another way of creating abstractions [default = %s]
\n
"
,
pPars
->
fAbs2
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-i : toggle using PPI values in proof-based refinement [default = %s]
\n
"
,
pPars
->
fProofUsePPI
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-l : toggle loading previous PDR traces [default = %s]
\n
"
,
pPars
->
fLoadTrace
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-s : toggle shrinking abstractions with BMC [default = %s]
\n
"
,
pPars
->
fShrinkAbs
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-t : toggle restarting pdr from scratch after shrinking abstractions with BMC [default = %s]
\n
"
,
pPars
->
fShrinkScratch
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-u : toggle checking combinationally unsat [default = %s]
\n
"
,
pPars
->
fCheckCombUnsat
?
"yes"
:
"no"
);
...
...
src/base/wlc/wlcNtk.c
View file @
38e5c8c9
...
...
@@ -119,6 +119,7 @@ void Wlc_ManSetDefaultParams( Wlc_Par_t * pPars )
pPars
->
fPushClauses
=
0
;
// Push clauses in the reloaded trace
pPars
->
fMFFC
=
1
;
// Refine the entire MFFC of a PPI
pPars
->
fPdra
=
0
;
// Use pdr -nct
pPars
->
fLoadTrace
=
1
;
// Load previous PDR traces
pPars
->
fProofRefine
=
0
;
// Use proof-based refinement
pPars
->
fHybrid
=
1
;
// Use a hybrid of CBR and PBR
pPars
->
fCheckCombUnsat
=
0
;
// Check if ABS becomes comb. unsat
...
...
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