Skip to content
Snippets Groups Projects
Commit dba406be authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Fixed bug: when initial setting > 0, a pulse was output right after reset.

 Fixed by setting g_init of common_counter to 1 to match the load-input value.
parent e864e7a7
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,8 @@ BEGIN ...@@ -82,7 +82,8 @@ BEGIN
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
u_common_counter : ENTITY work.common_counter u_common_counter : ENTITY work.common_counter
GENERIC MAP ( GENERIC MAP (
g_width => c_pulse_delay_max_width g_width => c_pulse_delay_max_width,
g_init => 1
) )
PORT MAP ( PORT MAP (
clk => clk, clk => clk,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment