]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - System.v
Compiles
[fpgaboy.git] / System.v
index caa6ae34024a08e6f4444f3f5a264ba762cbfaa2..dc70cc0d9d7a49cab58aec6a2ba9a8ae05e4070e 100644 (file)
--- a/System.v
+++ b/System.v
@@ -93,7 +93,8 @@ module CoreTop(
        output wire [7:0] seven,
        output wire hs, vs,
        output wire [2:0] r, g,
-       output wire [1:0] b);
+       output wire [1:0] b,
+       output wire soundl, soundr);
        
        wire xtalb, clk, vgaclk;
        IBUFG iclkbuf(.O(xtalb), .I(xtal));
@@ -227,6 +228,15 @@ module CoreTop(
                .buttons(0),
                .master(irq),
                .jaddr(jaddr));
+       
+       Soundcore sound(
+               .core_clk(clk),
+               .rd(rd),
+               .wr(wr),
+               .addr(addr),
+               .data(data),
+               .snd_data_l(soundl),
+               .snd_data_r(soundr));
 endmodule
 
 module TestBench();
This page took 0.02264 seconds and 4 git commands to generate.