X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/75ab1e9975f64989ee18450eb09b66b33ec5def8..74610a872e3bead82589e6ea786e928f319540e4:/Soundcore.v diff --git a/Soundcore.v b/Soundcore.v index 7752317..626001d 100644 --- a/Soundcore.v +++ b/Soundcore.v @@ -36,7 +36,7 @@ module Soundcore( addr == `ADDR_NR52 ? nr52 : 8'bzzzzzzzz : 8'bzzzzzzzz; - always @ (negedge core_clk) begin + always @ (posedge core_clk) begin if(wr) begin case(addr) `ADDR_NR50: nr50 <= data;