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
c2b6e03c
Commit
c2b6e03c
authored
Jan 19, 2018
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backing up node's truth-table to make sure it is not destroyed while deriving AIG.
parent
0ec5d2f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/opt/dau/dauGia.c
+4
-2
No files found.
src/opt/dau/dauGia.c
View file @
c2b6e03c
...
...
@@ -445,6 +445,8 @@ int Dsm_ManTruthToGia( void * p, word * pTruth, Vec_Int_t * vLeaves, Vec_Int_t *
Gia_Man_t
*
pGia
=
(
Gia_Man_t
*
)
p
;
int
nSizeNonDec
;
char
pDsd
[
1000
];
word
pTruthCopy
[
DAU_MAX_WORD
];
Abc_TtCopy
(
pTruthCopy
,
pTruth
,
Abc_TtWordNum
(
Vec_IntSize
(
vLeaves
)),
0
);
m_Calls
++
;
assert
(
Vec_IntSize
(
vLeaves
)
<=
DAU_DSD_MAX_VAR
);
// collect delay information
...
...
@@ -453,10 +455,10 @@ int Dsm_ManTruthToGia( void * p, word * pTruth, Vec_Int_t * vLeaves, Vec_Int_t *
int
i
,
iLit
,
pVarLevels
[
DAU_DSD_MAX_VAR
];
Vec_IntForEachEntry
(
vLeaves
,
iLit
,
i
)
pVarLevels
[
i
]
=
Gia_ObjLevelId
(
pGia
,
Abc_Lit2Var
(
iLit
)
);
nSizeNonDec
=
Dau_DsdDecomposeLevel
(
pTruth
,
Vec_IntSize
(
vLeaves
),
fUseMuxes
,
1
,
pDsd
,
pVarLevels
);
nSizeNonDec
=
Dau_DsdDecomposeLevel
(
pTruth
Copy
,
Vec_IntSize
(
vLeaves
),
fUseMuxes
,
1
,
pDsd
,
pVarLevels
);
}
else
nSizeNonDec
=
Dau_DsdDecompose
(
pTruth
,
Vec_IntSize
(
vLeaves
),
fUseMuxes
,
1
,
pDsd
);
nSizeNonDec
=
Dau_DsdDecompose
(
pTruth
Copy
,
Vec_IntSize
(
vLeaves
),
fUseMuxes
,
1
,
pDsd
);
if
(
nSizeNonDec
)
m_NonDsd
++
;
// printf( "%s\n", pDsd );
...
...
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