From: Michael Boehmer Date: Sun, 20 Mar 2022 07:35:22 +0000 (+0100) Subject: fixed write bug in SCI reader X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=cce92015603543f352e4e46b343bc03d3b4b93df;p=trbnet.git fixed write bug in SCI reader --- diff --git a/media_interfaces/sync/sci_reader.vhd b/media_interfaces/sync/sci_reader.vhd index 79221ae..6aed2f8 100644 --- a/media_interfaces/sync/sci_reader.vhd +++ b/media_interfaces/sync/sci_reader.vhd @@ -111,13 +111,13 @@ begin sci_state <= SCTRL_WAIT; end if; when SCTRL_WAIT => + next_sci_wr <= '0'; sci_state <= SCTRL_WAIT2; when SCTRL_WAIT2 => sci_state <= SCTRL_FINISH; when SCTRL_FINISH => BUS_TX.data(7 downto 0) <= SCI_RDDATA; BUS_TX.ack <= '1'; - next_sci_wr <= '0'; SCI_RD <= '0'; sci_state <= IDLE;