Fix the irq_controller for the real board

This commit is contained in:
2022-11-19 16:05:21 +01:00
parent 3d4ae63afb
commit 038f983cb5

View File

@@ -97,7 +97,7 @@ begin
variable num_highest : unsigned(irq_num_width - 1 downto 0) := (others => '0');
begin
-- if not in request, and something is pending (ignoring startup uninitialized state)
if ((rst = '0') and ((pending /= (pending'range => '0')) and (pending /= (pending'range => 'U')))) then
if ((rst = '0') and ((pending /= (pending'range => '0')))) then --and (pending /= (pending'range => 'U')))) then
-- something is pending
-- initialize variables before loop