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
ee1e20dd
Commit
ee1e20dd
authored
Aug 12, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabling additional matching feature in the LUT mapper.
parent
fcfafb06
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
15 deletions
+3
-15
src/aig/gia/giaIf.c
+2
-3
src/base/abci/abc.c
+1
-11
src/map/if/ifDec75.c
+0
-1
No files found.
src/aig/gia/giaIf.c
View file @
ee1e20dd
...
@@ -235,11 +235,10 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p )
...
@@ -235,11 +235,10 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p )
Abc_Print
(
1
,
"lev =%5d "
,
LevelMax
);
Abc_Print
(
1
,
"lev =%5d "
,
LevelMax
);
Abc_Print
(
1
,
"mem =%5.2f MB"
,
4
.
0
*
(
Gia_ManObjNum
(
p
)
+
2
*
nLuts
+
nFanins
)
/
(
1
<<
20
)
);
Abc_Print
(
1
,
"mem =%5.2f MB"
,
4
.
0
*
(
Gia_ManObjNum
(
p
)
+
2
*
nLuts
+
nFanins
)
/
(
1
<<
20
)
);
Abc_Print
(
1
,
"
\n
"
);
Abc_Print
(
1
,
"
\n
"
);
/*
{
{
char * pFileName = "stats_map.txt";
char * pFileName = "stats_map.txt";
static char FileNameOld[1000] = {0};
static char FileNameOld[1000] = {0};
static
int
nNodesOld
,
nAreaOld
,
nDelayOld
;
static abctime clk = 0;
static abctime clk = 0;
FILE * pTable = fopen( pFileName, "a+" );
FILE * pTable = fopen( pFileName, "a+" );
if ( strcmp( FileNameOld, p->pName ) )
if ( strcmp( FileNameOld, p->pName ) )
...
@@ -263,6 +262,7 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p )
...
@@ -263,6 +262,7 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p )
}
}
fclose( pTable );
fclose( pTable );
}
}
*/
}
}
/**Function*************************************************************
/**Function*************************************************************
...
@@ -372,7 +372,6 @@ void Gia_ManChoiceLevel_rec( Gia_Man_t * p, Gia_Obj_t * pObj )
...
@@ -372,7 +372,6 @@ void Gia_ManChoiceLevel_rec( Gia_Man_t * p, Gia_Obj_t * pObj )
if
(
LevelMax
<
Gia_ObjLevel
(
p
,
pNext
)
)
if
(
LevelMax
<
Gia_ObjLevel
(
p
,
pNext
)
)
LevelMax
=
Gia_ObjLevel
(
p
,
pNext
);
LevelMax
=
Gia_ObjLevel
(
p
,
pNext
);
LevelMax
++
;
LevelMax
++
;
assert
(
LevelMax
>
0
);
// get the level of the nodes in the choice node
// get the level of the nodes in the choice node
if
(
(
pNext
=
Gia_ObjSiblObj
(
p
,
Gia_ObjId
(
p
,
pObj
)))
)
if
(
(
pNext
=
Gia_ObjSiblObj
(
p
,
Gia_ObjId
(
p
,
pObj
)))
)
...
...
src/base/abci/abc.c
View file @
ee1e20dd
...
@@ -29454,17 +29454,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -29454,17 +29454,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv )
pPars
->
pFuncCell
=
If_CutPerformCheck10
;
pPars
->
pFuncCell
=
If_CutPerformCheck10
;
pPars
->
fCutMin
=
1
;
pPars
->
fCutMin
=
1
;
}
}
if
(
pPars
->
fEnableCheck75
)
if
(
pPars
->
fEnableCheck75
||
pPars
->
fEnableCheck75u
)
{
if
(
pPars
->
nLutSize
<
6
||
pPars
->
nLutSize
>
8
)
{
Abc_Print
(
-
1
,
"This feature only works for {6,7,8}-LUTs.
\n
"
);
return
1
;
}
pPars
->
pFuncCell
=
If_CutPerformCheck75
;
pPars
->
fCutMin
=
1
;
}
if
(
pPars
->
fEnableCheck75u
)
{
{
if
(
pPars
->
nLutSize
<
6
||
pPars
->
nLutSize
>
8
)
if
(
pPars
->
nLutSize
<
6
||
pPars
->
nLutSize
>
8
)
{
{
src/map/if/ifDec75.c
View file @
ee1e20dd
...
@@ -205,7 +205,6 @@ int Dau_DsdCheckDecAndExist( char * pDsd )
...
@@ -205,7 +205,6 @@ int Dau_DsdCheckDecAndExist( char * pDsd )
int
If_CutPerformCheck75__
(
If_Man_t
*
p
,
unsigned
*
pTruth
,
int
nVars
,
int
nLeaves
,
char
*
pStr
)
int
If_CutPerformCheck75__
(
If_Man_t
*
p
,
unsigned
*
pTruth
,
int
nVars
,
int
nLeaves
,
char
*
pStr
)
{
{
char
pDsdStr
[
1000
];
char
pDsdStr
[
1000
];
int
fDerive
=
0
;
int
nSizeNonDec
,
nDecExists
,
nDecAndExists
;
int
nSizeNonDec
,
nDecExists
,
nDecAndExists
;
static
int
Counter
=
0
;
static
int
Counter
=
0
;
Counter
++
;
Counter
++
;
...
...
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