]> git.the-white-hart.net Git - vhdl/commitdiff
Okay fine, this can be unsigned
authorrs <>
Sun, 14 Dec 2025 22:37:52 +0000 (16:37 -0600)
committerrs <>
Sun, 14 Dec 2025 22:37:52 +0000 (16:37 -0600)
libraries/dsp/src_fracstep.vhd

index 7a5e26223fd362b43edaf458a45c1cfee29a0804..69e3f92851b218f068ecbd5b6e4a20e27d7d26fe 100644 (file)
@@ -34,7 +34,7 @@ begin
                        if rst_i = '1' then
                                count_reg <= (others => '0');
                        elsif rdy_i = '1' then
-                               count_reg <= count_reg + signed(inc_i);
+                               count_reg <= count_reg + unsigned(inc_i);
                        end if;
                end if;
        end process;