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
b902b007
Commit
b902b007
authored
Apr 01, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to LMS code.
parent
f99e5cd9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/aig/gia/giaIf.c
+4
-2
src/base/abci/abcRec3.c
+1
-1
No files found.
src/aig/gia/giaIf.c
View file @
b902b007
...
...
@@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
extern
int
Kit_TruthToGia
(
Gia_Man_t
*
pMan
,
unsigned
*
pTruth
,
int
nVars
,
Vec_Int_t
*
vMemory
,
Vec_Int_t
*
vLeaves
,
int
fHash
);
extern
int
Abc_RecToGia
2
(
Gia_Man_t
*
pMan
,
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
If_Obj_t
*
pIfObj
,
Vec_Int_t
*
vLeaves
,
int
fHash
);
extern
int
Abc_RecToGia
3
(
Gia_Man_t
*
pMan
,
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
Vec_Int_t
*
vLeaves
,
int
fHash
);
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
...
...
@@ -387,6 +387,8 @@ int Gia_ManNodeIfSopToGiaInt( Gia_Man_t * pNew, Vec_Wrd_t * vAnds, int nVars, Ve
iRes1
=
Abc_LitNotCond
(
Vec_IntEntry
(
vResults
,
This
.
iFan1
),
This
.
fCompl1
);
if
(
fHash
)
iRes
=
Gia_ManHashAnd
(
pNew
,
iRes0
,
iRes1
);
else
if
(
iRes0
==
iRes1
)
iRes
=
iRes0
;
else
iRes
=
Gia_ManAppendAnd
(
pNew
,
iRes0
,
iRes1
);
Vec_IntPush
(
vResults
,
iRes
);
...
...
@@ -527,7 +529,7 @@ Gia_Man_t * Gia_ManFromIf( If_Man_t * pIfMan )
else
if
(
pIfMan
->
pPars
->
fDelayOpt
)
pIfObj
->
iCopy
=
Gia_ManNodeIfSopToGia
(
pNew
,
pIfMan
,
pCutBest
,
vLeaves
,
fHash
);
else
if
(
pIfMan
->
pPars
->
fUserRecLib
)
pIfObj
->
iCopy
=
Abc_RecToGia
2
(
pNew
,
pIfMan
,
pCutBest
,
pIfObj
,
vLeaves
,
fHash
);
pIfObj
->
iCopy
=
Abc_RecToGia
3
(
pNew
,
pIfMan
,
pCutBest
,
vLeaves
,
fHash
);
else
pIfObj
->
iCopy
=
Gia_ManNodeIfToGia
(
pNew
,
pIfMan
,
pIfObj
,
vLeaves
,
fHash
);
// complement the node if the TT was used and the cut was complemented
...
...
src/base/abci/abcRec3.c
View file @
b902b007
...
...
@@ -1084,7 +1084,7 @@ Hop_Obj_t * Abc_RecToHop3( Hop_Man_t * pMan, If_Man_t * pIfMan, If_Cut_t * pCut,
SeeAlso []
***********************************************************************/
int
Abc_RecToGia3
(
Gia_Man_t
*
pMan
,
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
If_Obj_t
*
pIfObj
,
Vec_Int_t
*
vLeaves
,
int
fHash
)
int
Abc_RecToGia3
(
Gia_Man_t
*
pMan
,
If_Man_t
*
pIfMan
,
If_Cut_t
*
pCut
,
Vec_Int_t
*
vLeaves
,
int
fHash
)
{
Lms_Man_t
*
p
=
s_pMan3
;
char
pCanonPerm
[
LMS_VAR_MAX
];
...
...
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