Added missing newlines

Print debug message every 100 lines
This commit is contained in:
D. Mitch Bailey 2021-09-06 18:31:38 -07:00
parent 2d6f1f71b5
commit a05ede99db
2 changed files with 6 additions and 6 deletions

View File

@ -6893,8 +6893,8 @@ int reorderpins(struct hashlist *p, int file)
for (ob = ptr->cell; ob != NULL; ) {
/* Catch badness */
if (ob->next && (ob->next->node > 100000)) {
if (ob->next->node % 100000 == 0) {
if (ob->next && (ob->next->node > 99999)) {
if (ob->next->node % 100 == 0) { /* print once every 100 nodes over 100000 */
Fprintf(stdout, "Bad node. Node count %d\n", ob->next->node);
}
}

View File

@ -566,7 +566,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} {
netgen::flatten class "[lindex $endval 0] $fnum1"
netgen::flatten class "[lindex $endval 1] $fnum2"
} else {
netgen::log put " Continuing with black-boxed subcircuits $endval"
netgen::log put " Continuing with black-boxed subcircuits $endval\n"
lappend matcherr [lindex $endval 0]
# Match pins
netgen::log echo off
@ -611,13 +611,13 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} {
if {[netgen::print queue] != {}} {
if {([lsearch $noflat [lindex $endval 1]] == -1) &&
([lsearch $noflat [lindex $endval 1]] == -1)} {
netgen::log put " Flattening non-matched subcircuits $endval"
netgen::log put " Flattening non-matched subcircuits $endval\n"
netgen::flatten class "[lindex $endval 0] $fnum1"
netgen::flatten class "[lindex $endval 1] $fnum2"
} else {
netgen::log put " Continuing with black-boxed subcircuits $endval"
netgen::log put " Continuing with black-boxed subcircuits $endval\n"
lappend matcherr [lindex $endval 0]
netgen::log put " Continuing with black-boxed subcircuits $endval"
netgen::log put " Continuing with black-boxed subcircuits $endval\n"
lappend matcherr [lindex $endval 0]
# Match pins
netgen::log echo off