Commit f358e645 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Bug-fix of RX Buffer state machine.

Removed timestamp_capture feedback path.
parent 056e8f71
...@@ -614,8 +614,7 @@ begin ...@@ -614,8 +614,7 @@ begin
timestamp_capture <= (OTHERS => '0'); timestamp_capture <= (OTHERS => '0');
elsif (rising_edge(clk_sys)) then elsif (rising_edge(clk_sys)) then
timestamp_capture <= timestamp_capture;
if ((drv_rtsopt = RTS_END and rec_message_valid = '1') or if ((drv_rtsopt = RTS_END and rec_message_valid = '1') or
(drv_rtsopt = RTS_BEG and sof_pulse = '1')) (drv_rtsopt = RTS_BEG and sof_pulse = '1'))
then then
...@@ -746,8 +745,11 @@ begin ...@@ -746,8 +745,11 @@ begin
-- Store first TIMESTAMP_U_W from beginning of frame. -- Store first TIMESTAMP_U_W from beginning of frame.
-------------------------------------------------------------------- --------------------------------------------------------------------
when rxb_store_beg_ts_high => when rxb_store_beg_ts_high =>
rx_fsm <= rxb_store_data; if (rec_abort = '1') then
rx_fsm <= rxb_idle;
else
rx_fsm <= rxb_store_data;
end if;
-------------------------------------------------------------------- --------------------------------------------------------------------
-- Store DATA_W. If error ocurrs, abort the storing. If storing is -- Store DATA_W. If error ocurrs, abort the storing. If storing is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment