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
ca9eca3b
Commit
ca9eca3b
authored
Oct 08, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes.
parent
97b52a6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
src/aig/gia/giaScript.c
+8
-8
src/map/if/ifDsd.c
+2
-0
No files found.
src/aig/gia/giaScript.c
View file @
ca9eca3b
...
@@ -417,11 +417,11 @@ void Gia_ManPerformRound( int fIsMapped, int nAnds, int nLevels, int nLutSize, i
...
@@ -417,11 +417,11 @@ void Gia_ManPerformRound( int fIsMapped, int nAnds, int nLevels, int nLutSize, i
if
(
nAnds
<
50000
)
if
(
nAnds
<
50000
)
{
{
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
""
);
sprintf
(
Command
,
"&dsdb; &dch -C
2
00; &if -K %d -C %d %s; &save"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
sprintf
(
Command
,
"&dsdb; &dch -C
5
00; &if -K %d -C %d %s; &save"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
if
(
fVerbose
)
if
(
fVerbose
)
{
{
printf
(
"Mapping with &dch -C
2
00; &if -K %d -C %d %s:
\n
"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
printf
(
"Mapping with &dch -C
5
00; &if -K %d -C %d %s:
\n
"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&ps"
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&ps"
);
}
}
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&st"
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&st"
);
...
@@ -431,11 +431,11 @@ void Gia_ManPerformRound( int fIsMapped, int nAnds, int nLevels, int nLutSize, i
...
@@ -431,11 +431,11 @@ void Gia_ManPerformRound( int fIsMapped, int nAnds, int nLevels, int nLutSize, i
if
(
nAnds
<
20000
)
if
(
nAnds
<
20000
)
{
{
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
""
);
sprintf
(
Command
,
"&dsdb; &dch -C
2
00; &if -K %d -C %d %s; &save"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
sprintf
(
Command
,
"&dsdb; &dch -C
5
00; &if -K %d -C %d %s; &save"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
Command
);
if
(
fVerbose
)
if
(
fVerbose
)
{
{
printf
(
"Mapping with &dch -C
2
00; &if -K %d -C %d %s:
\n
"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
printf
(
"Mapping with &dch -C
5
00; &if -K %d -C %d %s:
\n
"
,
nLutSize
,
nCutNum
,
fMinAve
?
"-t"
:
""
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&ps"
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&ps"
);
}
}
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&st"
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"&st"
);
...
@@ -496,10 +496,10 @@ void Gia_ManPerformFlow( int fIsMapped, int nAnds, int nLevels, int nLutSize, in
...
@@ -496,10 +496,10 @@ void Gia_ManPerformFlow( int fIsMapped, int nAnds, int nLevels, int nLutSize, in
void
Gia_ManPerformFlow2
(
int
fIsMapped
,
int
nAnds
,
int
nLevels
,
int
nLutSize
,
int
nCutNum
,
int
fBalance
,
int
fMinAve
,
int
fUseMfs
,
int
fVerbose
)
void
Gia_ManPerformFlow2
(
int
fIsMapped
,
int
nAnds
,
int
nLevels
,
int
nLutSize
,
int
nCutNum
,
int
fBalance
,
int
fMinAve
,
int
fUseMfs
,
int
fVerbose
)
{
{
char
Comm1
[
100
],
Comm2
[
100
],
Comm3
[
100
],
Comm4
[
100
];
char
Comm1
[
100
],
Comm2
[
100
],
Comm3
[
100
],
Comm4
[
100
];
sprintf
(
Comm1
,
"&synch2 -K %d -C
2
00; &if -m%s -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm1
,
"&synch2 -K %d -C
5
00; &if -m%s -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm2
,
"&dch -C
2
00; &if -m%s -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm2
,
"&dch -C
5
00; &if -m%s -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm3
,
"&synch2 -K %d -C
2
00; &lf -m%s -E 5 -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm3
,
"&synch2 -K %d -C
5
00; &lf -m%s -E 5 -K %d -C %d; %s &save"
,
nLutSize
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm4
,
"&dch -C
2
00; &lf -m%sk -E 5 -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
sprintf
(
Comm4
,
"&dch -C
5
00; &lf -m%sk -E 5 -K %d -C %d; %s &save"
,
fMinAve
?
"t"
:
""
,
nLutSize
,
nCutNum
+
4
,
fUseMfs
?
"&put; mfs2 -W 4 -M 500 -C 7000; &get -m;"
:
""
);
// perform synthesis
// perform synthesis
if
(
fVerbose
)
if
(
fVerbose
)
...
...
src/map/if/ifDsd.c
View file @
ca9eca3b
...
@@ -2745,6 +2745,8 @@ void Id_DsdManTuneThresh( If_DsdMan_t * p, int fUnate, int fThresh, int fVerbose
...
@@ -2745,6 +2745,8 @@ void Id_DsdManTuneThresh( If_DsdMan_t * p, int fUnate, int fThresh, int fVerbose
if
(
(
i
&
0xFF
)
==
0
)
if
(
(
i
&
0xFF
)
==
0
)
Extra_ProgressBarUpdate
(
pProgress
,
i
,
NULL
);
Extra_ProgressBarUpdate
(
pProgress
,
i
,
NULL
);
nVars
=
If_DsdObjSuppSize
(
pObj
);
nVars
=
If_DsdObjSuppSize
(
pObj
);
if
(
nVars
>
8
)
continue
;
pTruth
=
If_DsdManComputeTruth
(
p
,
Abc_Var2Lit
(
i
,
0
),
NULL
);
pTruth
=
If_DsdManComputeTruth
(
p
,
Abc_Var2Lit
(
i
,
0
),
NULL
);
if
(
fVeryVerbose
)
if
(
fVeryVerbose
)
Dau_DsdPrintFromTruth
(
pTruth
,
nVars
);
Dau_DsdPrintFromTruth
(
pTruth
,
nVars
);
...
...
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