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
15372449
Commit
15372449
authored
Aug 16, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added DSD-based collapsing &dsd.
parent
ec5bc582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/aig/gia/giaClp.c
+3
-2
No files found.
src/aig/gia/giaClp.c
View file @
15372449
...
...
@@ -111,7 +111,7 @@ int Gia_ManRebuildNode( Dsd_Manager_t * pManDsd, Dsd_Node_t * pNodeDsd, Gia_Man_
DdNode
*
bLocal
,
*
bTemp
;
Dsd_Node_t
*
pFaninDsd
;
Dsd_Type_t
Type
;
int
i
,
iLit
,
nDecs
;
int
i
,
nDecs
,
iLit
=
-
1
;
// add the fanins
Type
=
Dsd_NodeReadType
(
pNodeDsd
);
...
...
@@ -328,10 +328,11 @@ Gia_Man_t * Gia_ManCollapseTest( Gia_Man_t * p, int fVerbose )
ddNew
=
Cudd_Init
(
Gia_ManCiNum
(
p
),
0
,
CUDD_UNIQUE_SLOTS
,
CUDD_CACHE_SLOTS
,
0
);
Cudd_zddVarsFromBddVars
(
ddNew
,
2
);
// Cudd_ReduceHeap( dd, CUDD_REORDER_SYMM_SIFT, 100 );
if
(
fVerbose
)
printf
(
"Ins = %d. Outs = %d. Shared BDD nodes = %d. Peak live nodes = %d. Peak nodes = %d.
\n
"
,
Gia_ManCiNum
(
p
),
Gia_ManCoNum
(
p
),
Cudd_SharingSize
(
(
DdNode
**
)
Vec_PtrArray
(
vFuncs
),
Vec_PtrSize
(
vFuncs
)
),
Cudd_ReadPeakLiveNodeCount
(
dd
),
Cudd_ReadNodeCount
(
dd
)
);
Cudd_ReadPeakLiveNodeCount
(
dd
),
(
int
)
Cudd_ReadNodeCount
(
dd
)
);
// perform decomposition
pManDsd
=
Dsd_ManagerStart
(
dd
,
Gia_ManCiNum
(
p
),
0
);
Dsd_Decompose
(
pManDsd
,
(
DdNode
**
)
Vec_PtrArray
(
vFuncs
),
Vec_PtrSize
(
vFuncs
)
);
...
...
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