data/full_repos/permissive/209997170/Sound/pwm_tutorial/source/music_Anote.v
data/verilator_xmls/82a22980-947f-4d4b-8272-e0f67885df73.xml
module music_Anote(clk, speaker);
input clk;
output speaker;

reg [14:0] counter;
always @(posedge clk) 
  if(counter==28408) counter<=0;
  
  else counter <= counter+1;

reg speaker;

always @(posedge clk) 
  if(counter==28408) speaker <= ~speaker;

endmodule
module music_Anote(clk, speaker);

input clk;
output speaker;

reg [14:0] counter;
always @(posedge clk) 
  if(counter==28408) counter<=0;
  
  else counter <= counter+1;

reg speaker;

always @(posedge clk) 
  if(counter==28408) speaker <= ~speaker;

endmodule