More verbose detail for nodangle functor.
This commit is contained in:
parent
6225e2f405
commit
1985bc5821
12
nodangle.cc
12
nodangle.cc
|
|
@ -204,6 +204,13 @@ void nodangle(Design*des)
|
||||||
fun.scomplete = false;
|
fun.scomplete = false;
|
||||||
fun.ecomplete = false;
|
fun.ecomplete = false;
|
||||||
do {
|
do {
|
||||||
|
if (verbose_flag) {
|
||||||
|
cout << " ... scan for dangling signal and event nodes. "
|
||||||
|
<< "(scomplete=" << (fun.scomplete? "T" : "F")
|
||||||
|
<< ", ecomplete=" << (fun.ecomplete? "T" : "F")
|
||||||
|
<< ")" << endl << flush;
|
||||||
|
}
|
||||||
|
|
||||||
fun.scontinue = false;
|
fun.scontinue = false;
|
||||||
fun.econtinue = false;
|
fun.econtinue = false;
|
||||||
des->functor(&fun);
|
des->functor(&fun);
|
||||||
|
|
@ -214,9 +221,12 @@ void nodangle(Design*des)
|
||||||
if (verbose_flag) {
|
if (verbose_flag) {
|
||||||
cout << " ... " << fun.iteration << " iterations"
|
cout << " ... " << fun.iteration << " iterations"
|
||||||
<< " deleted " << fun.stotal << " dangling signals"
|
<< " deleted " << fun.stotal << " dangling signals"
|
||||||
<< " and " << fun.etotal << " events." << endl;
|
<< " and " << fun.etotal << " events." << endl << flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (fun.scontinue || fun.econtinue);
|
} while (fun.scontinue || fun.econtinue);
|
||||||
|
|
||||||
|
if (verbose_flag) {
|
||||||
|
cout << " ... done" << endl << flush;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue