]> git.the-white-hart.net Git - vhdl/commitdiff
Add initial value to counter
authorrs <>
Mon, 15 Dec 2025 18:48:06 +0000 (12:48 -0600)
committerrs <>
Mon, 15 Dec 2025 18:48:06 +0000 (12:48 -0600)
libraries/dsp/src_counter.vhd

index 347373aea0e9e53cf315b99ca3f17d173c665eee..ddda6e07c5b05942c23e361b19c233abc862fb47 100644 (file)
@@ -20,7 +20,7 @@ end src_counter;
 
 architecture behavioral of src_counter is
 
-       signal count_reg: unsigned(WIDTH-1 downto 0);
+       signal count_reg: unsigned(WIDTH-1 downto 0) := (others => '0');
 
 begin