mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Bypass check when unneeded
This commit is contained in:
parent
25454e712e
commit
4e95fb3677
@ -339,7 +339,7 @@ always @* begin
|
||||
AXI_STATE_START: begin
|
||||
// start state - initiate new AXI transfer
|
||||
if (!m_axi_arvalid) begin
|
||||
if (op_word_count_reg <= AXI_MAX_BURST_SIZE - (addr_reg & OFFSET_MASK)) begin
|
||||
if (op_word_count_reg <= AXI_MAX_BURST_SIZE - (addr_reg & OFFSET_MASK) || AXI_MAX_BURST_SIZE >= 4096) begin
|
||||
// packet smaller than max burst size
|
||||
if (addr_reg[12] != addr_plus_count[12]) begin
|
||||
// crosses 4k boundary
|
||||
|
@ -425,7 +425,7 @@ always @* begin
|
||||
end
|
||||
STATE_START: begin
|
||||
// start state - initiate new AXI transfer
|
||||
if (op_word_count_reg <= AXI_MAX_BURST_SIZE - (addr_reg & OFFSET_MASK)) begin
|
||||
if (op_word_count_reg <= AXI_MAX_BURST_SIZE - (addr_reg & OFFSET_MASK) || AXI_MAX_BURST_SIZE >= 4096) begin
|
||||
// packet smaller than max burst size
|
||||
if (addr_reg[12] != addr_plus_count[12]) begin
|
||||
// crosses 4k boundary
|
||||
|
Loading…
x
Reference in New Issue
Block a user