From 63fac12a57e1f4d635d616b414d4fda04f2e288c Mon Sep 17 00:00:00 2001 From: rs <> Date: Fri, 12 Dec 2025 22:41:52 -0600 Subject: [PATCH] Use signed step in fractional step source --- libraries/dsp/src_fracstep.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/dsp/src_fracstep.vhd b/libraries/dsp/src_fracstep.vhd index 69e3f92..7a5e262 100644 --- a/libraries/dsp/src_fracstep.vhd +++ b/libraries/dsp/src_fracstep.vhd @@ -34,7 +34,7 @@ begin if rst_i = '1' then count_reg <= (others => '0'); elsif rdy_i = '1' then - count_reg <= count_reg + unsigned(inc_i); + count_reg <= count_reg + signed(inc_i); end if; end if; end process; -- 2.43.0