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
d44d9e29
Commit
d44d9e29
authored
Mar 19, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiments with recent ideas.
parent
c1e54b8b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
src/base/abci/abc.c
+7
-4
src/sat/bmc/bmcLilac.c
+4
-1
src/sat/bmc/bmcTulip.c
+0
-0
No files found.
src/base/abci/abc.c
View file @
d44d9e29
...
...
@@ -32845,8 +32845,7 @@ usage:
***********************************************************************/
int
Abc_CommandAbc9Lilac
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
extern
Vec_Int_t
*
Gia_ManLilacTest
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vInit
,
int
nFrames
,
int
nWords
,
int
nTimeOut
,
int
fSim
,
int
fVerbose
);
Vec_Int_t
*
vTemp
;
extern
int
Gia_ManLilacTest
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vInit
,
int
nFrames
,
int
nWords
,
int
nTimeOut
,
int
fSim
,
int
fVerbose
);
int
c
,
nFrames
=
1000
,
nWords
=
1000
,
nTimeOut
=
0
,
fSim
=
0
,
fVerbose
=
0
;
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"FWTsvh"
)
)
!=
EOF
)
...
...
@@ -32908,8 +32907,12 @@ int Abc_CommandAbc9Lilac( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print
(
-
1
,
"Abc_CommandAbc9Lilac(): AIG is combinational.
\n
"
);
return
0
;
}
pAbc
->
pGia
->
vInitClasses
=
Gia_ManLilacTest
(
pAbc
->
pGia
,
vTemp
=
pAbc
->
pGia
->
vInitClasses
,
nFrames
,
nWords
,
nTimeOut
,
fSim
,
fVerbose
);
Vec_IntFreeP
(
&
vTemp
);
if
(
pAbc
->
pGia
->
vInitClasses
==
NULL
)
{
Abc_Print
(
-
1
,
"Abc_CommandAbc9Lilac(): Init array is not given.
\n
"
);
return
0
;
}
Gia_ManLilacTest
(
pAbc
->
pGia
,
pAbc
->
pGia
->
vInitClasses
,
nFrames
,
nWords
,
nTimeOut
,
fSim
,
fVerbose
);
return
0
;
usage:
src/sat/bmc/bmcLilac.c
View file @
d44d9e29
...
...
@@ -183,6 +183,8 @@ int Bmc_LilacPerform( Gia_Man_t * p, Vec_Int_t * vInit0, Vec_Int_t * vInit1, int
sat_solver
*
pSat
;
int
iVar0
,
iVar1
,
iLit
,
iLit0
,
iLit1
;
int
i
,
f
,
status
,
nChanges
,
nMiters
,
RetValue
=
1
;
assert
(
Vec_IntSize
(
vInit0
)
==
Gia_ManRegNum
(
p
)
);
assert
(
Vec_IntSize
(
vInit1
)
==
Gia_ManRegNum
(
p
)
);
// start the SAT solver
pSat
=
sat_solver_new
();
...
...
@@ -325,11 +327,12 @@ cleanup:
SeeAlso []
***********************************************************************/
void
Gia_ManLilacTest
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vInit
,
int
nFrames
,
int
nWords
,
int
nTimeOut
,
int
fSim
,
int
fVerbose
)
int
Gia_ManLilacTest
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vInit
,
int
nFrames
,
int
nWords
,
int
nTimeOut
,
int
fSim
,
int
fVerbose
)
{
Vec_Int_t
*
vInit0
=
Vec_IntStart
(
Gia_ManRegNum
(
p
)
);
Bmc_LilacPerform
(
p
,
vInit
,
vInit0
,
nFrames
,
nWords
,
nTimeOut
,
fVerbose
);
Vec_IntFree
(
vInit0
);
return
1
;
}
////////////////////////////////////////////////////////////////////////
...
...
src/sat/bmc/bmcTulip.c
View file @
d44d9e29
This diff is collapsed.
Click to expand it.
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