mirror of
https://github.com/corundum/corundum.git
synced 2025-02-06 08:38:23 +08:00
Fix bug in AXI operation generation
This commit is contained in:
parent
e365ae44da
commit
8678ecee65
@ -1053,6 +1053,10 @@ always @* begin
|
|||||||
last_cycle_next = output_cycle_count_next == 0;
|
last_cycle_next = output_cycle_count_next == 0;
|
||||||
input_active_next = tr_count_next > offset_reg;
|
input_active_next = tr_count_next > offset_reg;
|
||||||
|
|
||||||
|
m_axi_awaddr_next = axi_addr_reg;
|
||||||
|
m_axi_awlen_next = output_cycle_count_next;
|
||||||
|
m_axi_awvalid_next = 1'b1;
|
||||||
|
|
||||||
axi_addr_next = axi_addr_reg + tr_count_next;
|
axi_addr_next = axi_addr_reg + tr_count_next;
|
||||||
op_count_next = op_count_reg - tr_count_next;
|
op_count_next = op_count_reg - tr_count_next;
|
||||||
|
|
||||||
@ -1077,8 +1081,6 @@ always @* begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
m_axi_awvalid_next = 1'b1;
|
|
||||||
|
|
||||||
op_table_write_start_ptr = op_tag_reg;
|
op_table_write_start_ptr = op_tag_reg;
|
||||||
op_table_write_start_commit = op_count_next == 0 && final_cpl_reg && op_table_read_commit[op_table_write_start_ptr] && (op_table_read_count_start[op_table_write_start_ptr] == op_table_read_count_finish[op_table_write_start_ptr]);
|
op_table_write_start_commit = op_count_next == 0 && final_cpl_reg && op_table_read_commit[op_table_write_start_ptr] && (op_table_read_count_start[op_table_write_start_ptr] == op_table_read_count_finish[op_table_write_start_ptr]);
|
||||||
op_table_write_start_en = 1'b1;
|
op_table_write_start_en = 1'b1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user