From cce92015603543f352e4e46b343bc03d3b4b93df Mon Sep 17 00:00:00 2001 From: Michael Boehmer Date: Sun, 20 Mar 2022 08:35:22 +0100 Subject: [PATCH] fixed write bug in SCI reader --- media_interfaces/sync/sci_reader.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0