User Tools

Site Tools


2014:fpga_piano_lfsr_with_sine_wave_generator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
2014:fpga_piano_lfsr_with_sine_wave_generator [2014/12/18 23:05]
teamuptownfunk [Playing a Programmed Song with the Press of a Button]
2014:fpga_piano_lfsr_with_sine_wave_generator [2014/12/18 23:17] (current)
teamuptownfunk
Line 54: Line 54:
 ==== Run the piano/​song/​LFSR & Pick up where we left off ==== ==== Run the piano/​song/​LFSR & Pick up where we left off ====
 You can synthesize either the piano mode or the LFSR chip tunes mode on the FPGA. You can synthesize either the piano mode or the LFSR chip tunes mode on the FPGA.
-Clone our repository at https://​github.com/​yunhsincynthiachen/​CompArchFPGAPianoFinal and program the FPGA in Xilinx opening the project ​___________ ​or ____________.+Clone our repository at https://​github.com/​yunhsincynthiachen/​CompArchFPGAPianoFinal and program the FPGA in Xilinx opening the project ​LFSR or FPGAPiano. 
 + 
 +Here are instructions to run the code in ModelSim and Xilinx: 
 + 
 +In ModelSim: For the FPGA Piano, run “do_piano.do” in ModelSim, in order to run the test bench that shows the FPGA piano can play multiple notes at the same time, and can switch notes. For the FPGA LFSR Piano, run “do_LFSR.do” in ModelSim, in order to run the test bench that shows the LFSR can run different pseudo-random patterns. In order to test out a song that we were trying to program in the FPGA, we have a file called “doTrueLove.do” that when run, implements the entire song and shows the waves and sequence of all of the notes in the song. 
 + 
 +In Xilinx: For the FPGA Piano, in the file “FPGA Piano”, open and implement the top module of the project FPGA Piano. For the LFSR, in the file “LFSR”, open and implement the top module of the project LFSR.  In order to run or look at our attempt at programming a button to switch between the states of piano and the LFSR, run the project “LFSR_all” in the folder “LFSR_and_Piano”.  
  
 http://​tinyurl.com/​ca-fpga-13 http://​tinyurl.com/​ca-fpga-13
2014/fpga_piano_lfsr_with_sine_wave_generator.1418961919.txt.gz · Last modified: 2014/12/18 23:05 by teamuptownfunk