From: rs <> Date: Sun, 14 Dec 2025 22:50:43 +0000 (-0600) Subject: Generate I2S WS signal on SCK falling edge X-Git-Url: https://git.the-white-hart.net/?a=commitdiff_plain;h=3a38b6af01c816301b8511c8285f02b6702ef282;p=vhdl Generate I2S WS signal on SCK falling edge --- diff --git a/libraries/dsp/i2s_ctrl.vhd b/libraries/dsp/i2s_ctrl.vhd index 32825a4..5b2f549 100644 --- a/libraries/dsp/i2s_ctrl.vhd +++ b/libraries/dsp/i2s_ctrl.vhd @@ -109,7 +109,7 @@ begin process (sck_int, ws_tick, ws_reg) begin - if rising_edge(sck_int) then + if falling_edge(sck_int) then if ws_tick = '1' then ws_reg <= not ws_reg; end if;