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
10c31c65
Commit
10c31c65
authored
Sep 30, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiments with LUT structure mapping.
parent
bc1eae79
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
src/aig/gia/giaIf.c
+6
-2
src/aig/gia/giaOf.c
+0
-0
src/base/abci/abc.c
+1
-0
No files found.
src/aig/gia/giaIf.c
View file @
10c31c65
...
@@ -560,7 +560,7 @@ void Gia_ManPrintPackingStats( Gia_Man_t * p )
...
@@ -560,7 +560,7 @@ void Gia_ManPrintPackingStats( Gia_Man_t * p )
int
fVerbose
=
0
;
int
fVerbose
=
0
;
int
nObjToShow
=
200
;
int
nObjToShow
=
200
;
int
nNumStr
[
5
]
=
{
0
};
int
nNumStr
[
5
]
=
{
0
};
int
i
,
k
,
Entry
,
nEntries
,
nEntries2
,
MaxSize
=
-
1
;
int
i
,
k
,
Entry
,
nEntries
,
nEntries2
,
MaxSize
=
-
1
,
Count
=
0
;
if
(
p
->
vPacking
==
NULL
)
if
(
p
->
vPacking
==
NULL
)
return
;
return
;
nEntries
=
Vec_IntEntry
(
p
->
vPacking
,
0
);
nEntries
=
Vec_IntEntry
(
p
->
vPacking
,
0
);
...
@@ -586,8 +586,12 @@ void Gia_ManPrintPackingStats( Gia_Man_t * p )
...
@@ -586,8 +586,12 @@ void Gia_ManPrintPackingStats( Gia_Man_t * p )
MaxSize
=
1
;
MaxSize
=
1
;
Abc_Print
(
1
,
"Packing (N=%d) : "
,
MaxSize
);
Abc_Print
(
1
,
"Packing (N=%d) : "
,
MaxSize
);
for
(
i
=
1
;
i
<=
MaxSize
;
i
++
)
for
(
i
=
1
;
i
<=
MaxSize
;
i
++
)
{
Abc_Print
(
1
,
"%d x LUT = %d "
,
i
,
nNumStr
[
i
]
);
Abc_Print
(
1
,
"%d x LUT = %d "
,
i
,
nNumStr
[
i
]
);
Abc_Print
(
1
,
"Total = %d"
,
nEntries2
);
Count
+=
i
*
nNumStr
[
i
];
}
Abc_Print
(
1
,
"Total = %d "
,
nEntries2
);
Abc_Print
(
1
,
"Total LUT = %d"
,
Count
);
Abc_Print
(
1
,
"
\n
"
);
Abc_Print
(
1
,
"
\n
"
);
}
}
...
...
src/aig/gia/giaOf.c
View file @
10c31c65
This diff is collapsed.
Click to expand it.
src/base/abci/abc.c
View file @
10c31c65
...
@@ -34282,6 +34282,7 @@ int Abc_CommandAbc9Unmap( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -34282,6 +34282,7 @@ int Abc_CommandAbc9Unmap( Abc_Frame_t * pAbc, int argc, char ** argv )
}
}
Vec_IntFreeP
(
&
pAbc
->
pGia
->
vMapping
);
Vec_IntFreeP
(
&
pAbc
->
pGia
->
vMapping
);
Vec_IntFreeP
(
&
pAbc
->
pGia
->
vPacking
);
Vec_IntFreeP
(
&
pAbc
->
pGia
->
vPacking
);
Vec_IntFreeP
(
&
pAbc
->
pGia
->
vCellMapping
);
return
0
;
return
0
;
usage:
usage:
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