1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Fix bug in AXI operation generation

This commit is contained in:
Alex Forencich 2019-09-26 23:25:09 -07:00
parent e365ae44da
commit 8678ecee65

View File

@ -1053,6 +1053,10 @@ always @* begin
last_cycle_next = output_cycle_count_next == 0;
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;
op_count_next = op_count_reg - tr_count_next;
@ -1077,8 +1081,6 @@ always @* begin
end
end
m_axi_awvalid_next = 1'b1;
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_en = 1'b1;