BUGFIX: Do only generate IRQs for streams that are enabled

This commit is contained in:
Oliver Bruendler
2018-09-04 13:05:04 +02:00
parent 2cae5276fb
commit 6ee4dfe4c2

View File

@ -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;