mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 11:57:12 -04:00
[tracer] Fix reporting of load/store data
Modify tracer to use the appropriate read/write masks when logging load/store traffic from the Load Store Unit. Signed-off-by: Adrian Lees <a.lees@lowrisc.org>
This commit is contained in:
parent
ea1a208f8d
commit
5a8a1a9993
1 changed files with 2 additions and 2 deletions
|
@ -136,10 +136,10 @@ module ibex_tracer (
|
|||
if ((data_accessed & MEM) != 0) begin
|
||||
$fwrite(fh, " PA:0x%08x", rvfi_mem_addr);
|
||||
|
||||
if (rvfi_mem_rmask != 4'b0000) begin
|
||||
if (rvfi_mem_wmask != 4'b0000) begin
|
||||
$fwrite(fh, " store:0x%08x", rvfi_mem_wdata);
|
||||
end
|
||||
if (rvfi_mem_wmask != 4'b0000) begin
|
||||
if (rvfi_mem_rmask != 4'b0000) begin
|
||||
$fwrite(fh, " load:0x%08x", rvfi_mem_rdata);
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue