wuchy143
Member
Hi All,
I'm trying to use an FPGA(Spartan 3an Dev board) to make a music box. Basically it will have a 4-bit input to tell the module what note it needs to play. Once the module figures out what note it's being told to play it needs to generate a square wave output to a port pin which will connect to a speaker. This is actually a lab I found online as I'm trying to teach myself FPGA's. Check it out for reference if you'd like.
https://www.engr.sjsu.edu/crabill/lab2.pdf
It says that this all can be done with a multiplexer, counter, and a T-FF. I would like to get some direction as how to do this. Please don't give me the answer as that wont really help me. I haven't touched much digital stuff since college and am very rusty. Perhaps someone could generally explain how the pieces would work together and I can try to figure out the rest and write some code to it.
Thanks all!
-mike
I'm trying to use an FPGA(Spartan 3an Dev board) to make a music box. Basically it will have a 4-bit input to tell the module what note it needs to play. Once the module figures out what note it's being told to play it needs to generate a square wave output to a port pin which will connect to a speaker. This is actually a lab I found online as I'm trying to teach myself FPGA's. Check it out for reference if you'd like.
https://www.engr.sjsu.edu/crabill/lab2.pdf
It says that this all can be done with a multiplexer, counter, and a T-FF. I would like to get some direction as how to do this. Please don't give me the answer as that wont really help me. I haven't touched much digital stuff since college and am very rusty. Perhaps someone could generally explain how the pieces would work together and I can try to figure out the rest and write some code to it.
Thanks all!
-mike