X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/8035022dc4eca3b2abe52750fb9f980dd8622469..d68161344eda14780ae6a88435c03e3cf24b47e0:/dhwk/source/INTERRUPT.vhd?ds=sidebyside diff --git a/dhwk/source/INTERRUPT.vhd b/dhwk/source/INTERRUPT.vhd index d4b8b45..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))