Skip to content

Commit

Permalink
Fix definition and assignment of the rvfi_mem_paddr_o port
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuguet committed Jan 8, 2025
1 parent 798dc4e commit 5794525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/store_buffer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module store_buffer
input logic valid_without_flush_i, // just tell if the address is valid which we are current putting and do not take any further action

input logic [CVA6Cfg.PLEN-1:0] paddr_i, // physical address of store which needs to be placed in the queue
output [CVA6Cfg.PLEN-1:0] rvfi_mem_paddr_o,
output logic [CVA6Cfg.PLEN-1:0] rvfi_mem_paddr_o,
input logic [CVA6Cfg.XLEN-1:0] data_i, // data which is placed in the queue
input logic [(CVA6Cfg.XLEN/8)-1:0] be_i, // byte enable in
input logic [1:0] data_size_i, // type of request we are making (e.g.: bytes to write)
Expand Down Expand Up @@ -152,7 +152,7 @@ module store_buffer

always_ff @(posedge clk_i) begin : rvfi_mem_paddr_ff
if (commit_i) begin
rvfi_mem_paddr_o = speculative_queue_q[speculative_read_pointer_q].address;
rvfi_mem_paddr_o <= speculative_queue_q[speculative_read_pointer_q].address;
end
end

Expand Down

0 comments on commit 5794525

Please sign in to comment.