diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index 09f9ea2a0..b01b9b33b 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -257,6 +257,7 @@ Varun Koyyalagunta Vassilis Papaefstathiou Veripool API Bot Victor Besyakov +Vikash Patel Vito Gamberini Wei-Lun Chiu William D. Jones diff --git a/docs/guide/simulating.rst b/docs/guide/simulating.rst index d3da6e77f..ed26effa6 100644 --- a/docs/guide/simulating.rst +++ b/docs/guide/simulating.rst @@ -29,7 +29,7 @@ For example: - S i m u l a t i o n R e p o r t: Verilator ... - Verilator: End at simtime 123 ns; walltime 1234.001 s; speed 123 ns/s - - Verilator: cpu 22.001 s on 4 threads; alloced 123 MB + - Verilator: cpu 22.001 s on 4 threads; allocated 123 MB The information in this report is: @@ -63,7 +63,7 @@ The information in this report is: Number of simultaneous threads used. -.. describe:: "alloced 123 MB" +.. describe:: "allocated 123 MB" Total memory used during simulation in megabytes. diff --git a/docs/guide/verilating.rst b/docs/guide/verilating.rst index 8ddc40742..1d0de69fb 100644 --- a/docs/guide/verilating.rst +++ b/docs/guide/verilating.rst @@ -580,7 +580,7 @@ will print a report to stdout summarizing the build. For example: - Verilator: Built from 354 MB sources in 247 modules, into 74 MB in 89 C++ files needing 0.192 MB - Verilator: Walltime 26.580 s (elab=2.096, cvt=18.268, - bld=2.100); cpu 26.548 s on 1 threads; alloced 2894.672 MB + bld=2.100); cpu 26.548 s on 1 threads; allocated 2894.672 MB The information in this report is: @@ -635,7 +635,7 @@ The information in this report is: Number of simultaneous threads used. -.. describe:: "alloced 123 MB" +.. describe:: "allocated 123 MB" Total memory used during build by Verilator executable (excludes :vlopt:`--build` compiler's usage) in megabytes. diff --git a/include/verilated.cpp b/include/verilated.cpp index 8cc2d0522..48e64938a 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -3118,7 +3118,7 @@ void VerilatedContext::statsPrintSummary() VL_MT_UNSAFE { uint64_t memPeak, memCurrent; VlOs::memUsageBytes(memPeak /*ref*/, memCurrent /*ref*/); const double modelMB = memPeak / 1024.0 / 1024.0; - VL_PRINTF("- Verilator: cpu %0.3f s on %u threads; alloced %0.0f MB\n", cputime, + VL_PRINTF("- Verilator: cpu %0.3f s on %u threads; allocated %0.0f MB\n", cputime, threadsInModels(), modelMB); } diff --git a/src/V3StatsReport.cpp b/src/V3StatsReport.cpp index d3f49855a..5ae3af084 100644 --- a/src/V3StatsReport.cpp +++ b/src/V3StatsReport.cpp @@ -271,6 +271,6 @@ void V3Stats::summaryReport() { uint64_t memPeak, memCurrent; VlOs::memUsageBytes(memPeak /*ref*/, memCurrent /*ref*/); const double memory = memPeak / 1024.0 / 1024.0; - if (VL_UNCOVERABLE(memory != 0.0)) std::cout << "; alloced " << memory << " MB"; + if (VL_UNCOVERABLE(memory != 0.0)) std::cout << "; allocated " << memory << " MB"; std::cout << "\n"; }