fixed bug which occurs due to socbridge not handling addresses seperately for read and writes
This commit is contained in:
parent
4682d19720
commit
4e4853c540
@ -13,7 +13,7 @@ use grlib.stdlib.all;
|
|||||||
|
|
||||||
entity socbridge_driver is
|
entity socbridge_driver is
|
||||||
generic(
|
generic(
|
||||||
MAX_PKT_SIZE : integer range 1 to 128 := 16;
|
MAX_PKT_SIZE : integer range 1 to 128 := 128;
|
||||||
BUFFER_SIZE : integer
|
BUFFER_SIZE : integer
|
||||||
);
|
);
|
||||||
port(
|
port(
|
||||||
@ -394,7 +394,7 @@ begin
|
|||||||
else
|
else
|
||||||
next_tx_data_size <= 0;
|
next_tx_data_size <= 0;
|
||||||
end if;
|
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
|
if trans_st.write.is_first_word = '1' then
|
||||||
local_next_tx_transaction := WRITE_ADD;
|
local_next_tx_transaction := WRITE_ADD;
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user