BUGFIX: Do only generate IRQs for streams that are enabled
This commit is contained in:
@ -198,7 +198,7 @@ begin
|
||||
|
||||
-- *** IRQ Handling ***
|
||||
for i in 0 to Streams_g-1 loop
|
||||
if StrIrq(i) = '1' then
|
||||
if (StrIrq(i) = '1') and (r.Reg_StrEna(i) = '1') then
|
||||
v.Reg_IrqVec(i) := '1';
|
||||
end if;
|
||||
end loop;
|
||||
|
Reference in New Issue
Block a user