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
db6afbea
Commit
db6afbea
authored
Feb 08, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Diabling pin-permutation in &nf mapper.
parent
68467cff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
4 deletions
+14
-4
abclib.dsp
+4
-0
src/aig/gia/giaMan.c
+1
-0
src/aig/gia/giaNf.c
+0
-0
src/aig/gia/giaPf.c
+0
-0
src/aig/gia/module.make
+1
-0
src/base/abci/abc.c
+8
-4
No files found.
abclib.dsp
View file @
db6afbea
...
...
@@ -4003,6 +4003,10 @@ SOURCE=.\src\aig\gia\giaPat.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\gia\giaPf.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\gia\giaQbf.c
# End Source File
# Begin Source File
...
...
src/aig/gia/giaMan.c
View file @
db6afbea
...
...
@@ -160,6 +160,7 @@ double Gia_ManMemory( Gia_Man_t * p )
Memory
+=
sizeof
(
int
)
*
Gia_ManCiNum
(
p
);
Memory
+=
sizeof
(
int
)
*
Gia_ManCoNum
(
p
);
Memory
+=
sizeof
(
int
)
*
p
->
nHTable
*
(
p
->
pHTable
!=
NULL
);
Memory
+=
sizeof
(
int
)
*
Gia_ManObjNum
(
p
)
*
(
p
->
pRefs
!=
NULL
);
return
Memory
;
}
...
...
src/aig/gia/giaNf.c
View file @
db6afbea
This diff is collapsed.
Click to expand it.
src/aig/gia/giaPf.c
0 → 100644
View file @
db6afbea
This diff is collapsed.
Click to expand it.
src/aig/gia/module.make
View file @
db6afbea
...
...
@@ -47,6 +47,7 @@ SRC += src/aig/gia/giaAig.c \
src/aig/gia/giaMuxes.c
\
src/aig/gia/giaNf.c
\
src/aig/gia/giaPat.c
\
src/aig/gia/giaPf.c
\
src/aig/gia/giaQbf.c
\
src/aig/gia/giaResub.c
\
src/aig/gia/giaRetime.c
\
...
...
src/base/abci/abc.c
View file @
db6afbea
...
...
@@ -33227,6 +33227,7 @@ int Abc_CommandAbc9Nf( Abc_Frame_t * pAbc, int argc, char ** argv )
{
extern
void
Nf_ManSetDefaultPars
(
Jf_Par_t
*
pPars
);
extern
Gia_Man_t
*
Nf_ManPerformMapping
(
Gia_Man_t
*
pGia
,
Jf_Par_t
*
pPars
);
extern
Gia_Man_t
*
Pf_ManPerformMapping
(
Gia_Man_t
*
pGia
,
Jf_Par_t
*
pPars
);
char
Buffer
[
200
];
Jf_Par_t
Pars
,
*
pPars
=
&
Pars
;
Gia_Man_t
*
pNew
;
int
c
;
...
...
@@ -33368,7 +33369,10 @@ int Abc_CommandAbc9Nf( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print
(
-
1
,
"Current library is not available.
\n
"
);
return
1
;
}
pNew
=
Nf_ManPerformMapping
(
pAbc
->
pGia
,
pPars
);
// if ( pPars->fAreaOnly )
// pNew = Pf_ManPerformMapping( pAbc->pGia, pPars );
// else
pNew
=
Nf_ManPerformMapping
(
pAbc
->
pGia
,
pPars
);
if
(
pNew
==
NULL
)
{
Abc_Print
(
-
1
,
"Abc_CommandAbc9Nf(): Mapping into LUTs has failed.
\n
"
);
...
...
@@ -33382,17 +33386,17 @@ usage:
sprintf
(
Buffer
,
"best possible"
);
else
sprintf
(
Buffer
,
"%d"
,
pPars
->
DelayTarget
);
Abc_Print
(
-
2
,
"usage: &nf [-KCF
RLED num] [-
kvwh]
\n
"
);
Abc_Print
(
-
2
,
"usage: &nf [-KCF
ARLED num] [-a
kvwh]
\n
"
);
Abc_Print
(
-
2
,
"
\t
performs technology mapping of the network
\n
"
);
Abc_Print
(
-
2
,
"
\t
-K num : LUT size for the mapping (2 <= K <= %d) [default = %d]
\n
"
,
pPars
->
nLutSizeMax
,
pPars
->
nLutSize
);
Abc_Print
(
-
2
,
"
\t
-C num : the max number of priority cuts (1 <= C <= %d) [default = %d]
\n
"
,
pPars
->
nCutNumMax
,
pPars
->
nCutNum
);
Abc_Print
(
-
2
,
"
\t
-F num : the number of area flow rounds [default = %d]
\n
"
,
pPars
->
nRounds
);
// Abc_Print( -2, "\t-A num : the number of exact area rounds
[default = %d]\n", pPars->nRoundsEla );
Abc_Print
(
-
2
,
"
\t
-A num : the number of exact area rounds (when
\'
-a
\'
is used)
[default = %d]
\n
"
,
pPars
->
nRoundsEla
);
Abc_Print
(
-
2
,
"
\t
-R num : the delay relaxation ratio (num >= 0) [default = %d]
\n
"
,
pPars
->
nRelaxRatio
);
Abc_Print
(
-
2
,
"
\t
-L num : the fanout limit for coarsening XOR/MUX (num >= 2) [default = %d]
\n
"
,
pPars
->
nCoarseLimit
);
Abc_Print
(
-
2
,
"
\t
-E num : the area/edge tradeoff parameter (0 <= num <= 100) [default = %d]
\n
"
,
pPars
->
nAreaTuner
);
Abc_Print
(
-
2
,
"
\t
-D num : sets the delay constraint for the mapping [default = %s]
\n
"
,
Buffer
);
//
Abc_Print( -2, "\t-a : toggles area-oriented mapping [default = %s]\n", pPars->fAreaOnly? "yes": "no" );
Abc_Print
(
-
2
,
"
\t
-a : toggles area-oriented mapping [default = %s]
\n
"
,
pPars
->
fAreaOnly
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-k : toggles coarsening the subject graph [default = %s]
\n
"
,
pPars
->
fCoarsen
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggles verbose output [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-w : toggles very verbose output [default = %s]
\n
"
,
pPars
->
fVeryVerbose
?
"yes"
:
"no"
);
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