data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v
1: b"%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:22: Cannot find file containing module: 'Debouncer'\nDebouncer PlayDebounce(PlayAgain, DebouncedPlayAgain, Reset, Clock);\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3,data/full_repos/permissive/42149584/Debouncer\n             data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3,data/full_repos/permissive/42149584/Debouncer.v\n             data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3,data/full_repos/permissive/42149584/Debouncer.sv\n             Debouncer\n             Debouncer.v\n             Debouncer.sv\n             obj_dir/Debouncer\n             obj_dir/Debouncer.v\n             obj_dir/Debouncer.sv\n%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:23: Cannot find file containing module: 'ClockedOneShot'\nClockedOneShot PlayOneShot(DebouncedPlayAgain, OneShotPlayAgain, Reset, Clock);\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:27: Cannot find file containing module: 'MusicSheetReader'\nMusicSheetReader Reader(OneShotPlayAgain, EndofScore, 5'd0 , KeyOutput, ReadingAddress, Over, Clock, Reset);\n^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:30: Cannot find file containing module: 'MusicScore'\nMusicScore Sheet(1'b1,ReadingAddress, 4'd0, KeyOutput, 4'd0, TimeOutput,Clock, Reset, Choice);\n^~~~~~~~~~\n%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:33: Cannot find file containing module: 'PlayNote2'\nPlayNote2 PlayNoteUnit(KeyOutput, TimeOutput, ~EndofScore, Over, NoteArray, Reset, Clock);\n^~~~~~~~~\n%Error: data/full_repos/permissive/42149584/Pong/Phase3/TermProjectPhase3/PlaySound.v:36: Cannot find file containing module: 'ThreeMusicNotes'\nThreeMusicNotes NoteUnit(NoteArray[0], NoteArray[1], NoteArray[2], Speaker, Reset, Clock) ;\n^~~~~~~~~~~~~~~\n%Error: Exiting due to 6 error(s)\n"
module PlaySound(PlayAgain, Speaker, Reset, Clock, Choice);
input PlayAgain, Reset, Clock;
output Speaker;
input [1:0] Choice;

wire Clock;

parameter AddressBits=5;
parameter DataLength=4;
wire [2:0] NoteArray;
wire [DataLength-1:0] KeyOutput, TimeOutput;
wire [AddressBits-1:0] ReadingAddress;
wire EndofScore, DebouncedPlayAgain, OneShotPlayAgain;

Debouncer PlayDebounce(PlayAgain, DebouncedPlayAgain, Reset, Clock);
ClockedOneShot PlayOneShot(DebouncedPlayAgain, OneShotPlayAgain, Reset, Clock);



MusicSheetReader Reader(OneShotPlayAgain, EndofScore, 5'd0 , KeyOutput, ReadingAddress, Over, Clock, Reset);


MusicScore Sheet(1'b1,ReadingAddress, 4'd0, KeyOutput, 4'd0, TimeOutput,Clock, Reset, Choice);


PlayNote2 PlayNoteUnit(KeyOutput, TimeOutput, ~EndofScore, Over, NoteArray, Reset, Clock);


ThreeMusicNotes NoteUnit(NoteArray[0], NoteArray[1], NoteArray[2], Speaker, Reset, Clock) ;

endmodule
module PlaySound(PlayAgain, Speaker, Reset, Clock, Choice);

input PlayAgain, Reset, Clock;
output Speaker;
input [1:0] Choice;

wire Clock;

parameter AddressBits=5;
parameter DataLength=4;
wire [2:0] NoteArray;
wire [DataLength-1:0] KeyOutput, TimeOutput;
wire [AddressBits-1:0] ReadingAddress;
wire EndofScore, DebouncedPlayAgain, OneShotPlayAgain;

Debouncer PlayDebounce(PlayAgain, DebouncedPlayAgain, Reset, Clock);
ClockedOneShot PlayOneShot(DebouncedPlayAgain, OneShotPlayAgain, Reset, Clock);



MusicSheetReader Reader(OneShotPlayAgain, EndofScore, 5'd0 , KeyOutput, ReadingAddress, Over, Clock, Reset);


MusicScore Sheet(1'b1,ReadingAddress, 4'd0, KeyOutput, 4'd0, TimeOutput,Clock, Reset, Choice);


PlayNote2 PlayNoteUnit(KeyOutput, TimeOutput, ~EndofScore, Over, NoteArray, Reset, Clock);


ThreeMusicNotes NoteUnit(NoteArray[0], NoteArray[1], NoteArray[2], Speaker, Reset, Clock) ;

endmodule