mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-24 22:17:39 -04:00
In `VerilatorMemUtil::WriteElfToMem`, the verilator memory is written with the ELF segment data, 4 bytes at a time . If the segment size isn't a multiple of 4 (e.g. when using the RISC-V C extension) the last word wouldn't be written. This patch rounds the size up to a multiple of 4, solving that issue. |
||
---|---|---|
.. | ||
memutil | ||
pcount | ||
simutil_verilator |