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
81b040e6
Commit
81b040e6
authored
Sep 18, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minor issues having to do with the number of BDD vars used.
parent
f14f5c92
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
src/aig/llb/llb4Nonlin.c
+7
-1
src/misc/extra/extraBddMisc.c
+0
-3
No files found.
src/aig/llb/llb4Nonlin.c
View file @
81b040e6
...
@@ -923,6 +923,7 @@ void Llb_Nonlin4Reorder( DdManager * dd, int fTwice, int fVerbose )
...
@@ -923,6 +923,7 @@ void Llb_Nonlin4Reorder( DdManager * dd, int fTwice, int fVerbose )
Llb_Mnx_t
*
Llb_MnxStart
(
Aig_Man_t
*
pAig
,
Gia_ParLlb_t
*
pPars
)
Llb_Mnx_t
*
Llb_MnxStart
(
Aig_Man_t
*
pAig
,
Gia_ParLlb_t
*
pPars
)
{
{
Llb_Mnx_t
*
p
;
Llb_Mnx_t
*
p
;
p
=
ABC_CALLOC
(
Llb_Mnx_t
,
1
);
p
=
ABC_CALLOC
(
Llb_Mnx_t
,
1
);
p
->
pAig
=
pAig
;
p
->
pAig
=
pAig
;
p
->
pPars
=
pPars
;
p
->
pPars
=
pPars
;
...
@@ -944,7 +945,7 @@ Llb_Mnx_t * Llb_MnxStart( Aig_Man_t * pAig, Gia_ParLlb_t * pPars )
...
@@ -944,7 +945,7 @@ Llb_Mnx_t * Llb_MnxStart( Aig_Man_t * pAig, Gia_ParLlb_t * pPars )
{
{
// p->vOrder = Llb_Nonlin4CreateOrderSimple( pAig );
// p->vOrder = Llb_Nonlin4CreateOrderSimple( pAig );
p
->
vOrder
=
Llb_Nonlin4CreateOrder
(
pAig
);
p
->
vOrder
=
Llb_Nonlin4CreateOrder
(
pAig
);
p
->
dd
=
Cudd_Init
(
Vec_Int
Size
(
p
->
vOrder
)
,
0
,
CUDD_UNIQUE_SLOTS
,
CUDD_CACHE_SLOTS
,
0
);
p
->
dd
=
Cudd_Init
(
Vec_Int
CountPositive
(
p
->
vOrder
)
+
1
,
0
,
CUDD_UNIQUE_SLOTS
,
CUDD_CACHE_SLOTS
,
0
);
Cudd_AutodynEnable
(
p
->
dd
,
CUDD_REORDER_SYMM_SIFT
);
Cudd_AutodynEnable
(
p
->
dd
,
CUDD_REORDER_SYMM_SIFT
);
Cudd_SetMaxGrowth
(
p
->
dd
,
1
.
05
);
Cudd_SetMaxGrowth
(
p
->
dd
,
1
.
05
);
// set the stop time parameter
// set the stop time parameter
...
@@ -1055,6 +1056,11 @@ int Llb_Nonlin4CoreReach( Aig_Man_t * pAig, Gia_ParLlb_t * pPars )
...
@@ -1055,6 +1056,11 @@ int Llb_Nonlin4CoreReach( Aig_Man_t * pAig, Gia_ParLlb_t * pPars )
int
RetValue
=
-
1
;
int
RetValue
=
-
1
;
if
(
pPars
->
fVerbose
)
if
(
pPars
->
fVerbose
)
Aig_ManPrintStats
(
pAig
);
Aig_ManPrintStats
(
pAig
);
if
(
pPars
->
fCluster
&&
Aig_ManObjNum
(
pAig
)
>=
(
1
<<
15
)
)
{
printf
(
"The number of objects is more than 2^15. Clustering cannot be used.
\n
"
);
return
RetValue
;
}
if
(
!
pPars
->
fSkipReach
)
if
(
!
pPars
->
fSkipReach
)
{
{
int
clk
=
clock
();
int
clk
=
clock
();
...
...
src/misc/extra/extraBddMisc.c
View file @
81b040e6
...
@@ -1707,9 +1707,6 @@ cuddBddPermuteRecur( DdManager * manager /* DD manager */ ,
...
@@ -1707,9 +1707,6 @@ cuddBddPermuteRecur( DdManager * manager /* DD manager */ ,
/* If problem already solved, look up answer and return. */
/* If problem already solved, look up answer and return. */
if
(
N
->
ref
!=
1
&&
(
res
=
cuddHashTableLookup1
(
table
,
N
)
)
!=
NULL
)
if
(
N
->
ref
!=
1
&&
(
res
=
cuddHashTableLookup1
(
table
,
N
)
)
!=
NULL
)
{
{
#ifdef DD_DEBUG
bddPermuteRecurHits
++
;
#endif
return
(
Cudd_NotCond
(
res
,
N
!=
node
)
);
return
(
Cudd_NotCond
(
res
,
N
!=
node
)
);
}
}
...
...
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