mirror of
https://github.com/olofk/serv.git
synced 2025-04-20 11:57:07 -04:00
Add missing gate on mem_rd with CSR disabled
This commit is contained in:
parent
28953fec4c
commit
7765567cf1
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module serv_rf_if
|
|||
end else begin
|
||||
wire rd = (i_ctrl_rd ) |
|
||||
(i_alu_rd & i_rd_alu_en) |
|
||||
(i_mem_rd);
|
||||
(i_mem_rd & i_rd_mem_en);
|
||||
|
||||
assign o_wdata0 = rd;
|
||||
assign o_wdata1 = 1'b0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue