Skip to content

Commit

Permalink
do not care about iccm/dccm addressing in ahb_to_axi4
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Nov 25, 2024
1 parent e7f055a commit a692593
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions design/lib/ahb_to_axi4.sv
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ import el2_pkg::*;
assign ahb_hrdata[63:0] = buf_rdata[63:0];
assign ahb_hresp = ((ahb_htrans_q[1:0] != 2'b0) & (buf_state != IDLE) &

((~(ahb_addr_in_dccm | ahb_addr_in_iccm)) | // request not for ICCM or DCCM
((ahb_addr_in_iccm | (ahb_addr_in_dccm & ahb_hwrite_q)) & ~((ahb_hsize_q[1:0] == 2'b10) | (ahb_hsize_q[1:0] == 2'b11))) | // ICCM Rd/Wr OR DCCM Wr not the right size
(
((ahb_hsize_q[2:0] == 3'h1) & ahb_haddr_q[0]) | // HW size but unaligned
((ahb_hsize_q[2:0] == 3'h2) & (|ahb_haddr_q[1:0])) | // W size but unaligned
((ahb_hsize_q[2:0] == 3'h3) & (|ahb_haddr_q[2:0])))) | // DW size but unaligned
Expand Down

0 comments on commit a692593

Please sign in to comment.