Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

UP3 Education Board generated sound???

Altera_Forum
Honored Contributor II
1,120 Views

i am trying to use up3 board to generate sound and having problem to connect the speaker to the fpga.i mean which port should i connect the speaker to on the board?:confused:  

 

i am using verilog hdl which i get from www.fpga4fun.com like below.... 

------------------------------------- 

module music(clk, speaker); 

input clk; 

output speaker; 

 

// Binary counter, 16-bits wide 

reg [15:0] counter; 

always @(posedge clk) counter <= counter+1; 

 

// Use the highest bit of the counter (MSB) to drive the speaker 

assign speaker = counter[15]; 

 

endmodule 

-------------------------------- 

 

thank you!!:) :)
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
203 Views

Same Problem, :( 

I am a new person to FPGA Hardware control and i want to access the Speaker in my NEEK evaluation Board. But i cant understand the literature in ALTERA,  

i'am a person of learning by examples not Theories and its costing me a Lot 

 

Any one please give me a example of producing a Beep sound in NEEk, i can develop from that. 

 

Thanks in Advance...:)
0 Kudos
Reply