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
70129645
Commit
70129645
authored
Jul 27, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Determine LUT size form the LUT library if present.
parent
7184003b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/opt/lpk/lpkCore.c
+5
-1
No files found.
src/opt/lpk/lpkCore.c
View file @
70129645
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "lpkInt.h"
#include "lpkInt.h"
#include "cloud.h"
#include "cloud.h"
#include "main.h"
ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START
...
@@ -516,7 +517,10 @@ int Lpk_Resynthesize( Abc_Ntk_t * pNtk, Lpk_Par_t * pPars )
...
@@ -516,7 +517,10 @@ int Lpk_Resynthesize( Abc_Ntk_t * pNtk, Lpk_Par_t * pPars )
Abc_NtkSweep
(
pNtk
,
0
);
Abc_NtkSweep
(
pNtk
,
0
);
// get the number of inputs
// get the number of inputs
pPars
->
nLutSize
=
Abc_NtkGetFaninMax
(
pNtk
);
if
(
Abc_FrameReadLibLut
()
)
pPars
->
nLutSize
=
((
If_Lib_t
*
)
Abc_FrameReadLibLut
())
->
LutMax
;
else
pPars
->
nLutSize
=
Abc_NtkGetFaninMax
(
pNtk
);
if
(
pPars
->
nLutSize
>
6
)
if
(
pPars
->
nLutSize
>
6
)
pPars
->
nLutSize
=
6
;
pPars
->
nLutSize
=
6
;
if
(
pPars
->
nLutSize
<
3
)
if
(
pPars
->
nLutSize
<
3
)
...
...
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