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
e868d057
Commit
e868d057
authored
Apr 19, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added structural hashing by default after if -g and &if -g.
parent
eb960a91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
src/aig/gia/giaIf.c
+3
-2
src/base/abci/abcIf.c
+7
-2
No files found.
src/aig/gia/giaIf.c
View file @
e868d057
...
@@ -717,7 +717,7 @@ int Gia_ManBuildFromMini( Gia_Man_t * pNew, If_Man_t * pIfMan, If_Cut_t * pCut,
...
@@ -717,7 +717,7 @@ int Gia_ManBuildFromMini( Gia_Man_t * pNew, If_Man_t * pIfMan, If_Cut_t * pCut,
Gia_Man_t
*
Gia_ManFromIfAig
(
If_Man_t
*
pIfMan
)
Gia_Man_t
*
Gia_ManFromIfAig
(
If_Man_t
*
pIfMan
)
{
{
int
fHash
=
0
;
int
fHash
=
0
;
Gia_Man_t
*
pNew
;
Gia_Man_t
*
pNew
,
*
pTemp
;
If_Obj_t
*
pIfObj
,
*
pIfLeaf
;
If_Obj_t
*
pIfObj
,
*
pIfLeaf
;
If_Cut_t
*
pCutBest
;
If_Cut_t
*
pCutBest
;
Vec_Int_t
*
vLeaves
;
Vec_Int_t
*
vLeaves
;
...
@@ -762,7 +762,8 @@ Gia_Man_t * Gia_ManFromIfAig( If_Man_t * pIfMan )
...
@@ -762,7 +762,8 @@ Gia_Man_t * Gia_ManFromIfAig( If_Man_t * pIfMan )
}
}
Vec_IntFree
(
vAig
);
Vec_IntFree
(
vAig
);
Vec_IntFree
(
vLeaves
);
Vec_IntFree
(
vLeaves
);
Gia_ManHashStop
(
pNew
);
pNew
=
Gia_ManRehash
(
pTemp
=
pNew
,
0
);
Gia_ManStop
(
pTemp
);
return
pNew
;
return
pNew
;
}
}
...
...
src/base/abci/abcIf.c
View file @
e868d057
...
@@ -113,7 +113,7 @@ if ( pIfMan->pPars->fVerbose )
...
@@ -113,7 +113,7 @@ if ( pIfMan->pPars->fVerbose )
***********************************************************************/
***********************************************************************/
Abc_Ntk_t
*
Abc_NtkIf
(
Abc_Ntk_t
*
pNtk
,
If_Par_t
*
pPars
)
Abc_Ntk_t
*
Abc_NtkIf
(
Abc_Ntk_t
*
pNtk
,
If_Par_t
*
pPars
)
{
{
Abc_Ntk_t
*
pNtkNew
;
Abc_Ntk_t
*
pNtkNew
,
*
pTemp
;
If_Man_t
*
pIfMan
;
If_Man_t
*
pIfMan
;
assert
(
Abc_NtkIsStrash
(
pNtk
)
);
assert
(
Abc_NtkIsStrash
(
pNtk
)
);
...
@@ -160,7 +160,12 @@ Abc_Ntk_t * Abc_NtkIf( Abc_Ntk_t * pNtk, If_Par_t * pPars )
...
@@ -160,7 +160,12 @@ Abc_Ntk_t * Abc_NtkIf( Abc_Ntk_t * pNtk, If_Par_t * pPars )
if
(
pNtkNew
==
NULL
)
if
(
pNtkNew
==
NULL
)
return
NULL
;
return
NULL
;
If_ManStop
(
pIfMan
);
If_ManStop
(
pIfMan
);
if
(
pPars
->
fBidec
&&
pPars
->
nLutSize
<=
8
)
if
(
pPars
->
fDelayOpt
||
pPars
->
fDsdBalance
||
pPars
->
fUserRecLib
)
{
pNtkNew
=
Abc_NtkStrash
(
pTemp
=
pNtkNew
,
0
,
0
,
0
);
Abc_NtkDelete
(
pTemp
);
}
else
if
(
pPars
->
fBidec
&&
pPars
->
nLutSize
<=
8
)
Abc_NtkBidecResyn
(
pNtkNew
,
0
);
Abc_NtkBidecResyn
(
pNtkNew
,
0
);
// duplicate EXDC
// duplicate EXDC
...
...
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