X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/62940da0dd1b60db11e9861d6dd55a43c5756114..74610a872e3bead82589e6ea786e928f319540e4:/Interrupt.v diff --git a/Interrupt.v b/Interrupt.v index 1450b2c..fcc396b 100644 --- a/Interrupt.v +++ b/Interrupt.v @@ -34,7 +34,7 @@ module Interrupt( imasked[3] ? 8'h58 : imasked[4] ? 8'h60 : 8'h00; - always @(negedge clk) + always @(posedge clk) begin if (wr && (addr == `ADDR_IF || addr == `ADDR_IE)) begin case(addr)