odata <= ram[address[6:0]];
end
end
+endmodule
module InternalRAM(
input [15:0] address,
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));
.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();