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
2f3a9f91
Commit
2f3a9f91
authored
Jun 29, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix when &vta returns empty absraction.
parent
5d5ff3b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/aig/gia/giaAbsGla.c
+1
-0
src/aig/gia/giaAbsVta.c
+5
-0
No files found.
src/aig/gia/giaAbsGla.c
View file @
2f3a9f91
...
@@ -854,6 +854,7 @@ int Gia_GlaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
...
@@ -854,6 +854,7 @@ int Gia_GlaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
pPars
->
fDumpVabs
=
nDumpOld
;
pPars
->
fDumpVabs
=
nDumpOld
;
// create gate classes
// create gate classes
Vec_IntFreeP
(
&
pAig
->
vGateClasses
);
Vec_IntFreeP
(
&
pAig
->
vGateClasses
);
if
(
pAig
->
vObjClasses
)
pAig
->
vGateClasses
=
Gia_VtaConvertToGla
(
pAig
,
pAig
->
vObjClasses
);
pAig
->
vGateClasses
=
Gia_VtaConvertToGla
(
pAig
,
pAig
->
vObjClasses
);
Vec_IntFreeP
(
&
pAig
->
vObjClasses
);
Vec_IntFreeP
(
&
pAig
->
vObjClasses
);
}
}
...
...
src/aig/gia/giaAbsVta.c
View file @
2f3a9f91
...
@@ -1630,6 +1630,10 @@ finish:
...
@@ -1630,6 +1630,10 @@ finish:
// analize the results
// analize the results
if
(
pCex
==
NULL
)
if
(
pCex
==
NULL
)
{
{
if
(
Vec_PtrSize
(
p
->
vCores
)
==
0
)
Abc_Print
(
1
,
"Abstraction is not produced because first frame is not solved. "
);
else
{
assert
(
Vec_PtrSize
(
p
->
vCores
)
>
0
);
assert
(
Vec_PtrSize
(
p
->
vCores
)
>
0
);
if
(
pAig
->
vObjClasses
!=
NULL
)
if
(
pAig
->
vObjClasses
!=
NULL
)
Abc_Print
(
1
,
"Replacing the old abstraction by a new one.
\n
"
);
Abc_Print
(
1
,
"Replacing the old abstraction by a new one.
\n
"
);
...
@@ -1649,6 +1653,7 @@ finish:
...
@@ -1649,6 +1653,7 @@ finish:
else
else
Abc_Print
(
1
,
"SAT solver completed %d frames and produced an abstraction. "
,
f
);
Abc_Print
(
1
,
"SAT solver completed %d frames and produced an abstraction. "
,
f
);
}
}
}
else
else
{
{
ABC_FREE
(
p
->
pGia
->
pCexSeq
);
ABC_FREE
(
p
->
pGia
->
pCexSeq
);
...
...
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