bugfix: fixed condition in driver which caused writes to not end

This commit is contained in:
Erik Örtenberg 2025-05-29 11:55:36 +02:00
parent 1d95d2b7d6
commit 863460a9f2

View File

@ -312,6 +312,8 @@ begin
when AWAIT =>
if trans_st.write.inst.access_count = MAX_PKT_SIZE and not st.write_in_flight then
trans_write_next_state <= IDLE;
elsif trans_st.write.inst.access_count = 0 and not st.write_in_flight then
trans_write_next_state <= IDLE;
elsif ip_to_socbridge_driver.fifo.used_slots = 0 and ip_to_socbridge_driver.flush = '1'
and not st.write_in_flight then
trans_write_next_state <= IDLE;