Fix typo in Verilator report output ("alloced" → "allocated") (#6937)

This commit is contained in:
Vikash Patel
2026-01-19 08:31:22 -05:00
committed by GitHub
parent ac4f9f013e
commit ea9752ab43
5 changed files with 7 additions and 6 deletions
+1
View File
@@ -257,6 +257,7 @@ Varun Koyyalagunta
Vassilis Papaefstathiou
Veripool API Bot
Victor Besyakov
Vikash Patel
Vito Gamberini
Wei-Lun Chiu
William D. Jones
+2 -2
View File
@@ -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.
+2 -2
View File
@@ -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.
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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";
}