X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/b338a0b6419b53f5c83487d57f5c923d168ae842..68ce013e5fe7c5d1c4e07fe8ba1eb0ba2855b280:/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;