Skip to content

Commit

Permalink
legalizer: Ensure correct PageAddrWidth without bursts
Browse files Browse the repository at this point in the history
fixes #51
  • Loading branch information
thommythomaso authored and micprog committed Jul 17, 2024
1 parent a6b190c commit a34415f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/backend/tpl/idma_legalizer.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ ${database[p]['max_beats_per_burst']} * StrbWidth > ${database[p]['page_size']}\
//--------------------------------------
% if no_read_bursting or has_page_read_bursting:
idma_legalizer_page_splitter #(
.OffsetWidth ( OffsetWidth ),
.PageAddrWidth ( PageSize ),
.addr_t ( addr_t ),
.page_len_t ( page_len_t ),
.page_addr_t ( page_addr_t )
.OffsetWidth ( OffsetWidth ),
.PageAddrWidth ( PageAddrWidth ),
.addr_t ( addr_t ),
.page_len_t ( page_len_t ),
.page_addr_t ( page_addr_t )
) i_read_page_splitter (
% if no_read_bursting:
.not_bursting_i ( 1'b1 ),
Expand Down Expand Up @@ -260,11 +260,11 @@ r_num_bytes_to_pb = r_page_num_bytes_to_pb;
//--------------------------------------
% if no_write_bursting or has_page_write_bursting:
idma_legalizer_page_splitter #(
.OffsetWidth ( OffsetWidth ),
.PageAddrWidth ( PageSize ),
.addr_t ( addr_t ),
.page_len_t ( page_len_t ),
.page_addr_t ( page_addr_t )
.OffsetWidth ( OffsetWidth ),
.PageAddrWidth ( PageAddrWidth ),
.addr_t ( addr_t ),
.page_len_t ( page_len_t ),
.page_addr_t ( page_addr_t )
) i_write_page_splitter (
% if no_write_bursting:
.not_bursting_i ( 1'b1 ),
Expand Down

0 comments on commit a34415f

Please sign in to comment.