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
c8e4a05f
Commit
c8e4a05f
authored
Dec 15, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional print-outs in dc2.
parent
b63b332b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/aig/dar/darScript.c
+10
-10
No files found.
src/aig/dar/darScript.c
View file @
c8e4a05f
...
...
@@ -257,7 +257,7 @@ Aig_Man_t * Dar_ManCompress2( Aig_Man_t * pAig, int fBalance, int fUpdateLevel,
pParsRef
->
fVerbose
=
0
;
//fVerbose;
pAig
=
Aig_ManDupDfs
(
pAig
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Starting: "
),
Aig_ManPrintStats
(
pAig
);
/*
// balance
if ( fBalance )
...
...
@@ -275,27 +275,27 @@ Aig_Man_t * Dar_ManCompress2( Aig_Man_t * pAig, int fBalance, int fUpdateLevel,
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Rewrite: "
),
Aig_ManPrintStats
(
pAig
);
// refactor
Dar_ManRefactor
(
pAig
,
pParsRef
);
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Refactor: "
),
Aig_ManPrintStats
(
pAig
);
// balance
// if ( fBalance )
{
pAig
=
Dar_ManBalance
(
pTemp
=
pAig
,
fUpdateLevel
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Balance: "
),
Aig_ManPrintStats
(
pAig
);
}
// rewrite
Dar_ManRewrite
(
pAig
,
pParsRwr
);
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Rewrite: "
),
Aig_ManPrintStats
(
pAig
);
pParsRwr
->
fUseZeros
=
1
;
pParsRef
->
fUseZeros
=
1
;
...
...
@@ -304,34 +304,34 @@ Aig_Man_t * Dar_ManCompress2( Aig_Man_t * pAig, int fBalance, int fUpdateLevel,
Dar_ManRewrite
(
pAig
,
pParsRwr
);
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"RewriteZ: "
),
Aig_ManPrintStats
(
pAig
);
// balance
if
(
fBalance
)
{
pAig
=
Dar_ManBalance
(
pTemp
=
pAig
,
fUpdateLevel
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Balance: "
),
Aig_ManPrintStats
(
pAig
);
}
// refactor
Dar_ManRefactor
(
pAig
,
pParsRef
);
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"RefactorZ: "
),
Aig_ManPrintStats
(
pAig
);
// rewrite
Dar_ManRewrite
(
pAig
,
pParsRwr
);
pAig
=
Aig_ManDupDfs
(
pTemp
=
pAig
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"RewriteZ: "
),
Aig_ManPrintStats
(
pAig
);
// balance
if
(
fBalance
)
{
pAig
=
Dar_ManBalance
(
pTemp
=
pAig
,
fUpdateLevel
);
Aig_ManStop
(
pTemp
);
if
(
fVerbose
)
Aig_ManPrintStats
(
pAig
);
if
(
fVerbose
)
printf
(
"Balance: "
),
Aig_ManPrintStats
(
pAig
);
}
return
pAig
;
}
...
...
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