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
f01c63f7
Commit
f01c63f7
authored
Feb 22, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on %pdra -m
parent
2f90e5e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
src/base/wlc/wlcAbs.c
+24
-3
No files found.
src/base/wlc/wlcAbs.c
View file @
f01c63f7
...
...
@@ -302,6 +302,17 @@ static int Wlc_NtkRemoveFromAbstraction( Wlc_Ntk_t * p, Vec_Int_t * vRefine, Vec
return
nNodes
;
}
static
int
Wlc_NtkUnmarkRefinement
(
Wlc_Ntk_t
*
p
,
Vec_Int_t
*
vRefine
,
Vec_Bit_t
*
vUnmark
)
{
Wlc_Obj_t
*
pObj
;
int
i
,
nNodes
=
0
;
Wlc_NtkForEachObjVec
(
vRefine
,
p
,
pObj
,
i
)
{
Vec_BitWriteEntry
(
vUnmark
,
Wlc_ObjId
(
p
,
pObj
),
1
);
++
nNodes
;
}
return
nNodes
;
}
/**Function*************************************************************
Synopsis [Computes the map for remapping flop IDs used in the clauses.]
...
...
@@ -480,9 +491,19 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars )
Pdr_ManStop
(
pPdr
);
// update the set of objects to be un-abstracted
nNodes
=
Wlc_NtkRemoveFromAbstraction
(
p
,
vRefine
,
vUnmark
);
if
(
pPars
->
fVerbose
)
printf
(
"Refinement of CEX in frame %d came up with %d un-abstacted PPIs, whose MFFCs include %d objects.
\n
"
,
pCex
->
iFrame
,
Vec_IntSize
(
vRefine
),
nNodes
);
if
(
pPars
->
fMFFC
)
{
nNodes
=
Wlc_NtkRemoveFromAbstraction
(
p
,
vRefine
,
vUnmark
);
if
(
pPars
->
fVerbose
)
printf
(
"Refinement of CEX in frame %d came up with %d un-abstacted PPIs, whose MFFCs include %d objects.
\n
"
,
pCex
->
iFrame
,
Vec_IntSize
(
vRefine
),
nNodes
);
}
else
{
nNodes
=
Wlc_NtkUnmarkRefinement
(
p
,
vRefine
,
vUnmark
);
if
(
pPars
->
fVerbose
)
printf
(
"Refinement of CEX in frame %d came up with %d un-abstacted PPIs.
\n
"
,
pCex
->
iFrame
,
Vec_IntSize
(
vRefine
)
);
}
Vec_IntFree
(
vRefine
);
Abc_CexFree
(
pCex
);
Aig_ManStop
(
pAig
);
...
...
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