Skip to content

Commit

Permalink
change read to depend on HSEL rather than last_HSEL
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Oct 10, 2024
1 parent ff820f3 commit 1bb9131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hdl/rtl/bus_wrappers/EF_QSPI_XIP_CTRL_ahbl.v
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ module EF_QSPI_XIP_CTRL_ahbl #(parameter NUM_LINES = 16,
RW : HREADYOUT <= 1'b1;
endcase

assign fr_rd = ( HTRANS[1] & last_HSEL & HREADY & ~c_hit & (state==IDLE) ) |
( HTRANS[1] & last_HSEL & HREADY & ~c_hit & (state==RW) );
assign fr_rd = ( HTRANS[1] & HSEL & HREADY & ~c_hit & (state==IDLE) ) |
( HTRANS[1] & HSEL & HREADY & ~c_hit & (state==RW) );

assign c_A = (state != IDLE) ? last_HADDR[23:0] : HADDR;

Expand Down

0 comments on commit 1bb9131

Please sign in to comment.