core_debug: Initialise gspr_index
authorAnton Blanchard <anton@linux.ibm.com>
Sun, 12 Jun 2022 11:49:13 +0000 (21:49 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Sun, 12 Jun 2022 11:49:13 +0000 (21:49 +1000)
Another case of U state being driven out of a module.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
core_debug.vhdl

index 5bd7b621bb27ccc3a7b22b3eeacef71164800915..ff99df4cb0e5d203db96a209951f7ab22747eb09 100644 (file)
@@ -154,6 +154,7 @@ begin
                 stopping <= '0';
                 terminated <= '0';
                 log_trigger_delay <= 0;
+                gspr_index <= (others => '0');
             else
                 if do_log_trigger = '1' or log_trigger_delay /= 0 then
                     if log_trigger_delay = 255 then