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
7e843d64
Commit
7e843d64
authored
Sep 16, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added delay multipliers to 'map'.
parent
6d05fde2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
src/base/abci/abcMap.c
+13
-7
src/sat/cnf/cnfCore.c
+1
-1
No files found.
src/base/abci/abcMap.c
View file @
7e843d64
...
...
@@ -59,6 +59,7 @@ static Abc_Obj_t * Abc_NodeFromMapSuperChoice_rec( Abc_Ntk_t * pNtkNew, Map_Sup
***********************************************************************/
Abc_Ntk_t
*
Abc_NtkMap
(
Abc_Ntk_t
*
pNtk
,
double
DelayTarget
,
double
AreaMulti
,
double
DelayMulti
,
int
fRecovery
,
int
fSwitching
,
int
fVerbose
)
{
static
int
fUseMulti
=
0
;
int
fShowSwitching
=
1
;
Abc_Ntk_t
*
pNtkNew
;
Map_Man_t
*
pMan
;
...
...
@@ -76,12 +77,19 @@ Abc_Ntk_t * Abc_NtkMap( Abc_Ntk_t * pNtk, double DelayTarget, double AreaMulti,
return
0
;
}
if
(
AreaMulti
!=
0
.
0
)
fUseMulti
=
1
,
printf
(
"The cell areas are multiplied by the factor: <num_fanins> ^ (%.2f).
\n
"
,
AreaMulti
);
if
(
DelayMulti
!=
0
.
0
)
fUseMulti
=
1
,
printf
(
"The cell delays are multiplied by the factor: <num_fanins> ^ (%.2f).
\n
"
,
DelayMulti
);
// penalize large gates by increasing their area
Mio_LibraryMultiArea
(
pLib
,
AreaMulti
);
Mio_LibraryMultiDelay
(
pLib
,
DelayMulti
);
if
(
AreaMulti
!=
0
.
0
)
Mio_LibraryMultiArea
(
pLib
,
AreaMulti
);
if
(
DelayMulti
!=
0
.
0
)
Mio_LibraryMultiDelay
(
pLib
,
DelayMulti
);
// derive the supergate library
if
(
Abc_FrameReadLibSuper
()
==
NULL
&&
pLib
)
if
(
fUseMulti
||
Abc_FrameReadLibSuper
()
==
NULL
)
{
// printf( "A simple supergate library is derived from gate library \"%s\".\n",
// Mio_LibraryReadName((Mio_Library_t *)Abc_FrameReadLibGen()) );
...
...
@@ -90,12 +98,10 @@ Abc_Ntk_t * Abc_NtkMap( Abc_Ntk_t * pNtk, double DelayTarget, double AreaMulti,
}
// return the library to normal
Mio_LibraryMultiArea
(
Abc_FrameReadLibGen
(),
-
AreaMulti
);
Mio_LibraryMultiDelay
(
Abc_FrameReadLibGen
(),
-
DelayMulti
);
if
(
AreaMulti
!=
0
.
0
)
printf
(
"The cell areas are multiplied by the factor: <num_fanins> ^ (%.2f).
\n
"
,
AreaMulti
);
Mio_LibraryMultiArea
(
Abc_FrameReadLibGen
(),
-
AreaMulti
);
if
(
DelayMulti
!=
0
.
0
)
printf
(
"The cell delay are multiplied by the factor: <num_fanins> ^ (%.2f).
\n
"
,
DelayMulti
);
Mio_LibraryMultiDelay
(
Abc_FrameReadLibGen
(),
-
DelayMulti
);
// print a warning about choice nodes
if
(
Abc_NtkGetChoiceNum
(
pNtk
)
)
...
...
src/sat/cnf/cnfCore.c
View file @
7e843d64
...
...
@@ -47,7 +47,7 @@ void Cnf_ManPrepare()
{
if
(
s_pManCnf
==
NULL
)
{
printf
(
"
\n\n
Creating CNF manager!!!!!
\n\n
"
);
//
printf( "\n\nCreating CNF manager!!!!!\n\n" );
s_pManCnf
=
Cnf_ManStart
();
}
}
...
...
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