From f8ae08c0c23bf68694ef6d2b7f3bb21e4a29af43 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 2 Oct 2018 06:31:11 -0400 Subject: [PATCH] Internals: Fix whitespace. --- include/verilated_vcd_c.cpp | 2 +- test_regress/driver.pl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/verilated_vcd_c.cpp b/include/verilated_vcd_c.cpp index 6a14c5a66..a08f6da27 100644 --- a/include/verilated_vcd_c.cpp +++ b/include/verilated_vcd_c.cpp @@ -227,7 +227,7 @@ void VerilatedVcd::makeNameMap() { for (vluint32_t ent = 0; ent< m_callbacks.size(); ent++) { VerilatedVcdCallInfo* cip = m_callbacks[ent]; cip->m_code = m_nextCode; - (cip->m_initcb) (this, cip->m_userthis, cip->m_code); + (cip->m_initcb)(this, cip->m_userthis, cip->m_code); } // Though not speced, it's illegal to generate a vcd with signals diff --git a/test_regress/driver.pl b/test_regress/driver.pl index b64f382d6..20fe33a77 100755 --- a/test_regress/driver.pl +++ b/test_regress/driver.pl @@ -130,7 +130,7 @@ if ($#opt_tests<0) { foreach my $dir (@Test_Dirs) { my @stats = stat($dir); # Uniquify by inode, so different paths to same place get combined next if !$stats[1] || $uniq{$stats[1]}++; - push @opt_tests, sort(glob ("${dir}/t_*.pl")); + push @opt_tests, sort(glob("${dir}/t_*.pl")); } } if ($#opt_tests>=2 && $opt_jobs>=2) { @@ -1255,7 +1255,7 @@ sub _make_main { $fh->print(" topp->trace(tfp, 99);\n"); $fh->print(" tfp->open(\"".$self->trace_filename."\");\n"); if ($self->{trace} && !$self->sc) { - $fh->print(" if (tfp) tfp->dump (main_time);\n"); + $fh->print(" if (tfp) tfp->dump(main_time);\n"); } $fh->print("#endif\n"); } @@ -1308,12 +1308,12 @@ sub _make_main { if ($self->{coverage}) { $fh->print("#if VM_COVERAGE\n"); $fh->print(" VerilatedCov::write(\"",$self->{coverage_filename},"\");\n"); - $fh->print("#endif //VM_COVERAGE\n"); + $fh->print("#endif // VM_COVERAGE\n"); } if ($self->{trace}) { $fh->print("#if VM_TRACE\n"); $fh->print(" if (tfp) tfp->close();\n"); - $fh->print("#endif //VM_TRACE\n"); + $fh->print("#endif // VM_TRACE\n"); } $fh->print("\n"); @@ -1344,8 +1344,8 @@ sub _print_advance_time { print $fh " ${set}eval();\n"; if ($self->{trace} && !$self->sc) { $fh->print("#if VM_TRACE\n"); - $fh->print(" if (tfp) tfp->dump (main_time);\n"); - $fh->print("#endif //VM_TRACE\n"); + $fh->print(" if (tfp) tfp->dump(main_time);\n"); + $fh->print("#endif // VM_TRACE\n"); } } print $fh " main_time += ${time};\n";