fixed bug which occurs due to socbridge not handling addresses seperately for read and writes

This commit is contained in:
Erik Örtenberg 2025-05-22 23:48:49 +02:00
parent 4682d19720
commit 4e4853c540

View File

@ -13,7 +13,7 @@ use grlib.stdlib.all;
entity socbridge_driver is
generic(
MAX_PKT_SIZE : integer range 1 to 128 := 16;
MAX_PKT_SIZE : integer range 1 to 128 := 128;
BUFFER_SIZE : integer
);
port(
@ -394,7 +394,7 @@ begin
else
next_tx_data_size <= 0;
end if;
elsif trans_st.write.curr_state = SEND then
elsif trans_st.write.curr_state = SEND and not st.read_in_flight then
if trans_st.write.is_first_word = '1' then
local_next_tx_transaction := WRITE_ADD;
else