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
095bf1c9
Commit
095bf1c9
authored
Jan 28, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variable timeframe abstraction.
parent
5e1c2833
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/aig/gia/giaAbsVta.c
+7
-2
No files found.
src/aig/gia/giaAbsVta.c
View file @
095bf1c9
...
@@ -1368,7 +1368,10 @@ int Gia_VtaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
...
@@ -1368,7 +1368,10 @@ int Gia_VtaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
// check this timeframe
// check this timeframe
i
=
0
;
i
=
0
;
if
(
f
<
p
->
pPars
->
nFramesStart
)
if
(
f
<
p
->
pPars
->
nFramesStart
)
{
Vga_ManAddClausesOne
(
p
,
0
,
f
);
Vga_ManLoadSlice
(
p
,
(
Vec_Int_t
*
)
Vec_PtrEntry
(
p
->
vFrames
,
f
),
0
);
Vga_ManLoadSlice
(
p
,
(
Vec_Int_t
*
)
Vec_PtrEntry
(
p
->
vFrames
,
f
),
0
);
}
else
else
{
{
// create bookmark to be used for rollback
// create bookmark to be used for rollback
...
@@ -1421,12 +1424,14 @@ int Gia_VtaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
...
@@ -1421,12 +1424,14 @@ int Gia_VtaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
printf
(
"%5d"
,
nConfls
);
printf
(
"%5d"
,
nConfls
);
assert
(
(
vCore
!=
NULL
)
==
(
Status
==
1
)
);
assert
(
(
vCore
!=
NULL
)
==
(
Status
==
1
)
);
if
(
Status
==
-
1
)
// resource limit is reached
if
(
Status
==
-
1
)
// resource limit is reached
goto
finish
;
break
;
if
(
Status
==
0
)
if
(
Status
==
0
)
{
{
Vta_ManSatVerify
(
p
);
// make sure, there was no initial abstraction (otherwise, it was invalid)
// make sure, there was no initial abstraction (otherwise, it was invalid)
assert
(
pAig
->
vObjClasses
==
NULL
&&
f
<
p
->
pPars
->
nFramesStart
);
assert
(
pAig
->
vObjClasses
==
NULL
&&
f
<
p
->
pPars
->
nFramesStart
);
pCex
=
Vga_ManDeriveCex
(
p
);
pCex
=
Vga_ManDeriveCex
(
p
);
break
;
}
}
// add the core
// add the core
Vta_ManUnsatCoreRemap
(
p
,
vCore
);
Vta_ManUnsatCoreRemap
(
p
,
vCore
);
...
@@ -1455,7 +1460,7 @@ finish:
...
@@ -1455,7 +1460,7 @@ finish:
ABC_FREE
(
p
->
pGia
->
pCexSeq
);
ABC_FREE
(
p
->
pGia
->
pCexSeq
);
p
->
pGia
->
pCexSeq
=
pCex
;
p
->
pGia
->
pCexSeq
=
pCex
;
if
(
!
Gia_ManVerifyCex
(
p
->
pGia
,
pCex
,
0
)
)
if
(
!
Gia_ManVerifyCex
(
p
->
pGia
,
pCex
,
0
)
)
printf
(
"Gia_VtaPerform(): CEX verification has failed!
\n
"
);
printf
(
"
Gia_VtaPerform(): CEX verification has failed!
\n
"
);
printf
(
"Counter-example detected in frame %d. "
,
f
);
printf
(
"Counter-example detected in frame %d. "
,
f
);
}
}
Abc_PrintTime
(
1
,
"Time"
,
clock
()
-
clk
);
Abc_PrintTime
(
1
,
"Time"
,
clock
()
-
clk
);
...
...
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