bugfix: fixed condition in driver which caused writes to not end
This commit is contained in:
parent
1d95d2b7d6
commit
863460a9f2
@ -312,6 +312,8 @@ begin
|
|||||||
when AWAIT =>
|
when AWAIT =>
|
||||||
if trans_st.write.inst.access_count = MAX_PKT_SIZE and not st.write_in_flight then
|
if trans_st.write.inst.access_count = MAX_PKT_SIZE and not st.write_in_flight then
|
||||||
trans_write_next_state <= IDLE;
|
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'
|
elsif ip_to_socbridge_driver.fifo.used_slots = 0 and ip_to_socbridge_driver.flush = '1'
|
||||||
and not st.write_in_flight then
|
and not st.write_in_flight then
|
||||||
trans_write_next_state <= IDLE;
|
trans_write_next_state <= IDLE;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user