ganimede-rework #20
@ -238,7 +238,11 @@ begin
|
|||||||
when TX_W_BODY =>
|
when TX_W_BODY =>
|
||||||
if st.tx_stage > 0 then
|
if st.tx_stage > 0 then
|
||||||
socbridge_driver_to_ip.ready <= '1';
|
socbridge_driver_to_ip.ready <= '1';
|
||||||
local_next_data_out := ip_to_socbridge_driver.data;
|
if ip_to_socbridge_driver.valid = '1' then
|
||||||
|
local_next_data_out := ip_to_socbridge_driver.data;
|
||||||
|
else
|
||||||
|
local_next_data_out := (others => '0');
|
||||||
|
end if;
|
||||||
end if;
|
end if;
|
||||||
when TX_R_BODY =>
|
when TX_R_BODY =>
|
||||||
if st.tx_stage > 0 then
|
if st.tx_stage > 0 then
|
||||||
@ -316,7 +320,10 @@ begin
|
|||||||
end case;
|
end case;
|
||||||
case trans_st.read.curr_state is
|
case trans_st.read.curr_state is
|
||||||
when IDLE =>
|
when IDLE =>
|
||||||
if st.curr_rx_transaction = READ or st.curr_rx_transaction = READ_ADD
|
if next_rx_transaction = READ or next_rx_transaction = READ_ADD
|
||||||
|
or next_rx_transaction = WRITE or next_rx_transaction = WRITE_ADD then
|
||||||
|
trans_read_next_state <= IDLE;
|
||||||
|
elsif st.curr_rx_transaction = READ or st.curr_rx_transaction = READ_ADD
|
||||||
or st.curr_rx_transaction = WRITE or st.curr_rx_transaction = WRITE_ADD then
|
or st.curr_rx_transaction = WRITE or st.curr_rx_transaction = WRITE_ADD then
|
||||||
trans_read_next_state <= IDLE;
|
trans_read_next_state <= IDLE;
|
||||||
elsif trans_st.read.curr_inst.request = '1' then
|
elsif trans_st.read.curr_inst.request = '1' then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user