tree: 810d2efd371bd3d1396972925b2bcfe6782a506d [path history] [tgz]
  1. cpp/
  2. simutil_verilator/
  3. memutil_dpi.core
  4. memutil_dpi_scrambled.core
  5. memutil_dpi_scrambled_opts.hjson
  6. memutil_verilator.core
  7. README.md
hw/dv/verilator/README.md

Verilator memory loading support

ELF support

BSS sections

When loading ELF files into the memory, only the data stored in the file is loaded into the memory. Data specified by the memory size is not set. This is the case for BSS sections for which only the size information is stored in the ELF file. The zero-ing of this sections is the responsibility of the executed code. This is typically achieved by setting symbols for the start and end of the BSS section in the linker script and zero-ing the intermediate addresses by the startup routine.

Requirement: BSS zero-ing must be implemented by the executed software.