From 89b3b6a0d6febc268db1afacb28caa9e62839914 Mon Sep 17 00:00:00 2001 From: Sebastian Holzapfel Date: Fri, 27 Oct 2023 23:26:25 +0200 Subject: [PATCH] pick up the missing input bit --- gateware/drivers/ak4619.sv | 3 --- 1 file changed, 3 deletions(-) diff --git a/gateware/drivers/ak4619.sv b/gateware/drivers/ak4619.sv index f096386..c50ff95 100644 --- a/gateware/drivers/ak4619.sv +++ b/gateware/drivers/ak4619.sv @@ -96,9 +96,6 @@ always_ff @(posedge clk_256fs) begin // BICK transition HI -> LO: Clock in W bits // On HI -> LO both SDIN and SDOUT do not transition. // (determined by AK4619 transition polarity register BCKP) - if (bit_counter == 0) begin - adc_words[channel] <= 0; - end if (bit_counter < W) begin adc_words[channel][W - bit_counter - 1] <= sdout1; end