X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/377c02420489dd18db3ce053a075d7eca4ae799b..1d175e4f030e4cee19ec6df3b39bfad3bf64863c:/dhwk/source/INTERRUPT.vhd diff --git a/dhwk/source/INTERRUPT.vhd b/dhwk/source/INTERRUPT.vhd index 96ab264..cba3935 100644 --- a/dhwk/source/INTERRUPT.vhd +++ b/dhwk/source/INTERRUPT.vhd @@ -59,8 +59,8 @@ begin begin if (PCI_CLOCK'event and PCI_CLOCK ='1') then + -- THIS IS BROKEN (it cycles the interrupt) SIG_TAST_Q <= not (TAST_SETn and SIG_TAST_Qn); - SIG_TAST_Qn <= not (TAST_RESn and SIG_TAST_Q); end if; @@ -110,8 +110,9 @@ begin if(RESET = '1') then REG <= "00000000"; - elsif(SIG_TAST_Q = '1') then - REG <= "00000000" or SET; + -- elsif(SIG_TAST_Q = '1') then + -- REG <= "00000000" or SET; + elsif (TRDYn = '0' AND READ_XX5_4 = '1') then REG <= (REG AND NOT INT_RES) OR SET; @@ -121,8 +122,8 @@ begin end if; end process; - SIG_PROPAGATE_INT <= SIG_TAST_Q - OR (REG(0) AND INT_MASKE(0)) + SIG_PROPAGATE_INT <= + (REG(0) AND INT_MASKE(0)) OR (REG(1) AND INT_MASKE(1)) OR (REG(2) AND INT_MASKE(2)) OR (REG(3) AND INT_MASKE(3))