X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/56f1d0d6d7ce34b93faf0fe935bd215897a1c58a..c28d635f039230f52460063593be0fa8b9a5572d:/dhwk/source/INTERRUPT.vhd diff --git a/dhwk/source/INTERRUPT.vhd b/dhwk/source/INTERRUPT.vhd index 00048ba..1bbc7d1 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; @@ -121,8 +121,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)) @@ -140,7 +140,7 @@ begin INTAn <= not SIG_PROPAGATE_INT_SECOND; - PCI_INTAn <= '1' when SIG_PROPAGATE_INT_SECOND = '0' else 'Z'; + PCI_INTAn <= '0' when SIG_PROPAGATE_INT_SECOND = '0' else 'Z'; INT_REG <= REG;