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
f8e933c7
Commit
f8e933c7
authored
Jan 23, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variable timeframe abstraction.
parent
c39fd374
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
src/aig/gia/gia.h
+1
-0
src/aig/gia/giaAbsVta.c
+17
-7
src/base/abci/abc.c
+1
-1
No files found.
src/aig/gia/gia.h
View file @
f8e933c7
...
...
@@ -203,6 +203,7 @@ struct Gia_ParVta_t_
{
int
nFramesStart
;
// starting frame
int
nFramesMax
;
// maximum frames
int
nFramesOver
;
// overlap frames
int
nConfLimit
;
// conflict limit
int
nTimeOut
;
// timeout in seconds
int
fUseTermVars
;
// use terminal variables
...
...
src/aig/gia/giaAbsVta.c
View file @
f8e933c7
...
...
@@ -129,12 +129,14 @@ extern void Vga_ManAddClausesOne( Vta_Man_t * p, int iObj, int iFrame );
***********************************************************************/
void
Gia_VtaSetDefaultParams
(
Gia_ParVta_t
*
p
)
{
int
size
=
sizeof
(
Gia_ParVta_t
);
memset
(
p
,
0
,
sizeof
(
Gia_ParVta_t
)
);
p
->
nFramesStart
=
10
;
p
->
nFramesMax
=
0
;
p
->
nConfLimit
=
0
;
p
->
nTimeOut
=
60
;
p
->
fVerbose
=
1
;
p
->
nFramesStart
=
10
;
// the number of starting frames
p
->
nFramesMax
=
0
;
// the max number of frames
// p->nFramesOver = 4; // the number of overlapping frames
p
->
nConfLimit
=
0
;
// conflict limit
p
->
nTimeOut
=
60
;
// timeout in seconds
p
->
fVerbose
=
1
;
// verbosity flag
}
/**Function*************************************************************
...
...
@@ -601,7 +603,7 @@ Abc_Cex_t * Vta_ManRefineAbstraction( Vta_Man_t * p, int f )
pThis
->
Prio
=
0
;
// set highest priority
continue
;
}
// collect
useful
terminals
// collect terminals
assert
(
Gia_ObjIsAnd
(
pObj
)
||
Gia_ObjIsRo
(
p
->
pGia
,
pObj
)
);
if
(
!
pThis
->
fAdded
)
{
...
...
@@ -683,6 +685,8 @@ Abc_Cex_t * Vta_ManRefineAbstraction( Vta_Man_t * p, int f )
assert
(
pThis0
);
pThis
->
Prio
=
pThis0
->
Prio
;
}
else
pThis
->
Prio
=
0
;
}
}
...
...
@@ -764,13 +768,19 @@ Abc_Cex_t * Vta_ManRefineAbstraction( Vta_Man_t * p, int f )
// verify
Vta_ManForEachObjVec
(
p
->
vOrder
,
p
,
pThis
,
i
)
pThis
->
Value
=
VTA_VARX
;
if
(
!
pThis
->
fAdded
)
pThis
->
Value
=
VTA_VARX
;
Vta_ManForEachObjVec
(
vTermsToAdd
,
p
,
pThis
,
i
)
{
assert
(
!
pThis
->
fAdded
);
pThis
->
Value
=
sat_solver2_var_value
(
p
->
pSat
,
Vta_ObjId
(
p
,
pThis
))
?
VTA_VAR1
:
VTA_VAR0
;
}
// simulate
Vta_ManForEachObjObjVec
(
vOrder
,
p
,
pThis
,
pObj
,
i
)
{
assert
(
pThis
->
fVisit
==
0
);
if
(
!
pThis
->
fAdded
)
continue
;
if
(
Gia_ObjIsAnd
(
pObj
)
)
{
pThis0
=
Vga_ManFind
(
p
,
Gia_ObjFaninId0p
(
p
->
pGia
,
pObj
),
pThis
->
iFrame
);
...
...
src/base/abci/abc.c
View file @
f8e933c7
...
...
@@ -26404,7 +26404,7 @@ usage:
***********************************************************************/
int
Abc_CommandAbc9Vta
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
Gia_ParVta_t
Pars
,
*
pPars
=
&
Pars
;
Gia_ParVta_t
Pars
,
Pars2
,
*
pPars
=
&
Pars
;
int
c
;
Gia_VtaSetDefaultParams
(
pPars
);
Extra_UtilGetoptReset
();
...
...
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