]> git.the-white-hart.net Git - vhdl/commitdiff
Generate I2S WS signal on SCK falling edge
authorrs <>
Sun, 14 Dec 2025 22:50:43 +0000 (16:50 -0600)
committerrs <>
Sun, 14 Dec 2025 22:50:43 +0000 (16:50 -0600)
libraries/dsp/i2s_ctrl.vhd

index 32825a4fbf39119f39e4d13ed32bf3a33d4f1205..5b2f54969dac165406cb2fae35fbed1b06646b5a 100644 (file)
@@ -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;