X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/01878f5fdca9d08e4cf7ceed7f5a39f4df602de4..68ce013e5fe7c5d1c4e07fe8ba1eb0ba2855b280:/Sound1.v diff --git a/Sound1.v b/Sound1.v index 41abaa5..21b1dec 100644 --- a/Sound1.v +++ b/Sound1.v @@ -34,7 +34,7 @@ module Sound1( addr == `ADDR_NR14 ? nr14 : 8'bzzzzzzzz : 8'bzzzzzzzz; - always @ (negedge core_clk) begin + always @ (posedge core_clk) begin if(en && wr) begin case(addr) `ADDR_NR10: nr10 <= data;