From: rs <> Date: Mon, 15 Dec 2025 18:48:06 +0000 (-0600) Subject: Add initial value to counter X-Git-Url: https://git.the-white-hart.net/?a=commitdiff_plain;h=ecba32121e0c8c45e7466dbf8f16c4ebed98379c;p=vhdl Add initial value to counter --- diff --git a/libraries/dsp/src_counter.vhd b/libraries/dsp/src_counter.vhd index 347373a..ddda6e0 100644 --- a/libraries/dsp/src_counter.vhd +++ b/libraries/dsp/src_counter.vhd @@ -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