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
19c361e3
Commit
19c361e3
authored
Oct 02, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes in specialized matching.
parent
85098b01
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
src/aig/gia/giaIf.c
+1
-1
src/aig/gia/giaIso2.c
+4
-0
src/base/abci/abc.c
+1
-1
src/map/mpm/mpmAbc.c
+2
-2
No files found.
src/aig/gia/giaIf.c
View file @
19c361e3
...
...
@@ -728,7 +728,7 @@ int Gia_ManFromIfLogicCreateLutSpecial( Gia_Man_t * pNew, word * pRes, Vec_Int_t
SeeAlso []
***********************************************************************/
int
Gia_ManFromIfLogicNode
(
If_Man_t
*
pIfMan
,
Gia_Man_t
*
pNew
,
int
iObj
,
Vec_Int_t
*
vLeaves
,
Vec_Int_t
*
vLeavesTemp
,
int
Gia_ManFromIfLogicNode
(
void
*
pIfMan
,
Gia_Man_t
*
pNew
,
int
iObj
,
Vec_Int_t
*
vLeaves
,
Vec_Int_t
*
vLeavesTemp
,
word
*
pRes
,
char
*
pStr
,
Vec_Int_t
*
vCover
,
Vec_Int_t
*
vMapping
,
Vec_Int_t
*
vMapping2
,
Vec_Int_t
*
vPacking
,
int
fCheck75
,
int
fCheck44e
)
{
int
nLeaves
=
Vec_IntSize
(
vLeaves
);
...
...
src/aig/gia/giaIso2.c
View file @
19c361e3
...
...
@@ -672,6 +672,10 @@ Gia_Man_t * Gia_ManIsoReduce2( Gia_Man_t * pGia, Vec_Ptr_t ** pvPosEquivs, Vec_P
Vec_WecSortByFirstInt
(
vEquivs
,
0
);
// find the first outputs
vRemains
=
Vec_WecCollectFirsts
(
vEquivs
);
printf
(
"%d
\n
"
,
Gia_ObjFaninC0
(
Gia_ManPo
(
pGia
,
3
))
);
printf
(
"%d
\n
"
,
Gia_ObjFaninC0
(
Gia_ManPo
(
pGia
,
34
))
);
printf
(
"%d
\n
"
,
Gia_ObjFaninC0
(
Gia_ManPo
(
pGia
,
39
))
);
printf
(
"%d
\n
"
,
Gia_ObjFaninC0
(
Gia_ManPo
(
pGia
,
279
))
);
// derive the final GIA
pPart
=
Gia_ManDupCones
(
pGia
,
Vec_IntArray
(
vRemains
),
Vec_IntSize
(
vRemains
),
0
);
Vec_IntFree
(
vRemains
);
...
...
src/base/abci/abc.c
View file @
19c361e3
...
...
@@ -3008,7 +3008,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-a : toggles between using all nodes and DFS nodes [default = %s]
\n
"
,
fAllNodes
?
"all"
:
"DFS"
);
Abc_Print
(
-
2
,
"
\t
-c : toggles cleanup to remove the dagling AIG nodes [default = %s]
\n
"
,
fCleanup
?
"all"
:
"DFS"
);
Abc_Print
(
-
2
,
"
\t
-r : toggles using the record of AIG subgraphs [default = %s]
\n
"
,
fRecord
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-i : toggles complementing the
C
Os of the AIG [default = %s]
\n
"
,
fComplOuts
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-i : toggles complementing the
P
Os of the AIG [default = %s]
\n
"
,
fComplOuts
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-h : print the command usage
\n
"
);
return
1
;
}
src/map/mpm/mpmAbc.c
View file @
19c361e3
...
...
@@ -248,7 +248,7 @@ void * Mpm_ManFromIfLogic( Mpm_Man_t * pMan )
Vec_IntPush
(
vLeaves
,
Mig_ObjCopy
(
pFanin
)
);
if
(
pMan
->
pPars
->
fDeriveLuts
&&
(
pMan
->
pPars
->
fUseTruth
||
pMan
->
pPars
->
fUseDsd
)
)
{
extern
int
Gia_ManFromIfLogicNode
(
Gia_Man_t
*
pNew
,
int
iObj
,
Vec_Int_t
*
vLeaves
,
Vec_Int_t
*
vLeavesTemp
,
extern
int
Gia_ManFromIfLogicNode
(
void
*
p
,
Gia_Man_t
*
pNew
,
int
iObj
,
Vec_Int_t
*
vLeaves
,
Vec_Int_t
*
vLeavesTemp
,
word
*
pRes
,
char
*
pStr
,
Vec_Int_t
*
vCover
,
Vec_Int_t
*
vMapping
,
Vec_Int_t
*
vMapping2
,
Vec_Int_t
*
vPacking
,
int
fCheck75
,
int
fCheck44e
);
if
(
pMan
->
pPars
->
fUseTruth
)
pTruth
=
Mpm_CutTruth
(
pMan
,
Abc_Lit2Var
(
pCutBest
->
iFunc
));
...
...
@@ -256,7 +256,7 @@ void * Mpm_ManFromIfLogic( Mpm_Man_t * pMan )
uTruth
=
Mpm_CutTruthFromDsd
(
pMan
,
pCutBest
,
Abc_Lit2Var
(
pCutBest
->
iFunc
)
);
// Kit_DsdPrintFromTruth( pTruth, Vec_IntSize(vLeaves) ); printf( "\n" );
// perform decomposition of the cut
iLitNew
=
Gia_ManFromIfLogicNode
(
pNew
,
Mig_ObjId
(
pObj
),
vLeaves
,
vLeaves2
,
pTruth
,
NULL
,
vCover
,
vMapping
,
vMapping2
,
vPacking
,
0
,
0
);
iLitNew
=
Gia_ManFromIfLogicNode
(
NULL
,
pNew
,
Mig_ObjId
(
pObj
),
vLeaves
,
vLeaves2
,
pTruth
,
NULL
,
vCover
,
vMapping
,
vMapping2
,
vPacking
,
0
,
0
);
iLitNew
=
Abc_LitNotCond
(
iLitNew
,
pCutBest
->
fCompl
^
Abc_LitIsCompl
(
pCutBest
->
iFunc
)
);
}
else
...
...
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