mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-23 21:47:20 -04:00
ram_1p.sv: Fix rvalid_o generation
This signal must also be set in case of write transactions as it is a request valid and not a read valid.
This commit is contained in:
parent
2a47344dd1
commit
501cc2bb62
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module ram_1p #(
|
|||
if (!rst_ni) begin
|
||||
rvalid_o <= '0;
|
||||
end else begin
|
||||
rvalid_o <= req_i && ~write_i;
|
||||
rvalid_o <= req_i;
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue