Compiles
[fpgaboy.git] / System.v
index caa6ae3..dc70cc0 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.017405 seconds and 4 git commands to generate.