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
ba063a1b
Commit
ba063a1b
authored
Jul 13, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly handling transfer of additional AIG info when AIG has no internal nodes.
parent
2ba092e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
src/aig/gia/giaFx.c
+5
-1
src/aig/gia/giaScript.c
+15
-3
No files found.
src/aig/gia/giaFx.c
View file @
ba063a1b
...
@@ -460,7 +460,11 @@ Gia_Man_t * Gia_ManPerformFx( Gia_Man_t * p, int nNewNodesMax, int LitCountMax,
...
@@ -460,7 +460,11 @@ Gia_Man_t * Gia_ManPerformFx( Gia_Man_t * p, int nNewNodesMax, int LitCountMax,
Vec_Wec_t
*
vCubes
;
Vec_Wec_t
*
vCubes
;
Vec_Str_t
*
vCompl
;
Vec_Str_t
*
vCompl
;
if
(
Gia_ManAndNum
(
p
)
==
0
)
if
(
Gia_ManAndNum
(
p
)
==
0
)
return
Gia_ManDup
(
p
);
{
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
return
pNew
;
}
// abctime clk;
// abctime clk;
assert
(
Gia_ManHasMapping
(
p
)
);
assert
(
Gia_ManHasMapping
(
p
)
);
// collect information
// collect information
...
...
src/aig/gia/giaScript.c
View file @
ba063a1b
...
@@ -88,7 +88,11 @@ Gia_Man_t * Gia_ManAigSyn2( Gia_Man_t * pInit, int fOldAlgo, int fCoarsen, int f
...
@@ -88,7 +88,11 @@ Gia_Man_t * Gia_ManAigSyn2( Gia_Man_t * pInit, int fOldAlgo, int fCoarsen, int f
p
=
Gia_ManDup
(
pInit
);
p
=
Gia_ManDup
(
pInit
);
Gia_ManTransferTiming
(
p
,
pInit
);
Gia_ManTransferTiming
(
p
,
pInit
);
if
(
Gia_ManAndNum
(
p
)
==
0
)
if
(
Gia_ManAndNum
(
p
)
==
0
)
return
p
;
{
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
return
pNew
;
}
// delay optimization
// delay optimization
if
(
fDelayMin
&&
p
->
pManTime
==
NULL
)
if
(
fDelayMin
&&
p
->
pManTime
==
NULL
)
{
{
...
@@ -157,7 +161,11 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
...
@@ -157,7 +161,11 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
pPars
->
nRelaxRatio
=
40
;
pPars
->
nRelaxRatio
=
40
;
if
(
fVerbose
)
Gia_ManPrintStats
(
p
,
NULL
);
if
(
fVerbose
)
Gia_ManPrintStats
(
p
,
NULL
);
if
(
Gia_ManAndNum
(
p
)
==
0
)
if
(
Gia_ManAndNum
(
p
)
==
0
)
return
Gia_ManDup
(
p
);
{
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
return
pNew
;
}
// perform balancing
// perform balancing
pNew
=
Gia_ManAreaBalance
(
p
,
0
,
ABC_INFINITY
,
fVeryVerbose
,
0
);
pNew
=
Gia_ManAreaBalance
(
p
,
0
,
ABC_INFINITY
,
fVeryVerbose
,
0
);
if
(
fVerbose
)
Gia_ManPrintStats
(
pNew
,
NULL
);
if
(
fVerbose
)
Gia_ManPrintStats
(
pNew
,
NULL
);
...
@@ -189,7 +197,11 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
...
@@ -189,7 +197,11 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
pPars
->
nRelaxRatio
=
40
;
pPars
->
nRelaxRatio
=
40
;
if
(
fVerbose
)
Gia_ManPrintStats
(
p
,
NULL
);
if
(
fVerbose
)
Gia_ManPrintStats
(
p
,
NULL
);
if
(
Gia_ManAndNum
(
p
)
==
0
)
if
(
Gia_ManAndNum
(
p
)
==
0
)
return
Gia_ManDup
(
p
);
{
pNew
=
Gia_ManDup
(
p
);
Gia_ManTransferTiming
(
pNew
,
p
);
return
pNew
;
}
//Gia_ManAigPrintPiLevels( p );
//Gia_ManAigPrintPiLevels( p );
// perform balancing
// perform balancing
pNew
=
Gia_ManAreaBalance
(
p
,
0
,
ABC_INFINITY
,
fVeryVerbose
,
0
);
pNew
=
Gia_ManAreaBalance
(
p
,
0
,
ABC_INFINITY
,
fVeryVerbose
,
0
);
...
...
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