data/full_repos/permissive/521337848/Hardware/BUZZER/buzzer.v
1: b"%Error: data/full_repos/permissive/521337848/Hardware/BUZZER/buzzer.v:146: Too many digits for 18 bit number: 18'hFFFFFFFF\n if(f_tim ==18'hFFFFFFFF) sig = 0;\n            ^~~~~~~~~~~~\n%Error: Exiting due to 1 error(s)\n"
module Buzzer16(
	input clk,
	input rst,
	
	input start,
	input[23:0] in,
	
	output sound
);

wire[5:0] ssound;
wire[1:0] vol;


wire[2:0] nsound;

wire finish;

buzzerMan bMan(.clk(clk),
			 .rst(rst),
	
			 .in(in),
			 .start(start),
			 
			 .vol(vol),
			 .sig(ssound)
);


wire[1:0] tt;
wire snd1;
wire ff;

generator gen1(
	.clk(clk),
	.rst(rst),
	.tt(tt),
	.sound(ssound),
	.snd(snd1),
	
	.finish(finish)
);


wire snd = snd1;


volumer volx(
	.clk(clk),
	.rst(rst),
	.vol(vol),
	
	.tt(tt),
	.ff(ff)
);

wire insnd;

bufferconnector bc(
	.clk(clk),
	
	.snd(snd),
	
	.ff(ff),
	
	.sound(insnd)
);

singleBuffer sB(
	.clk(clk),
	.insnd(~insnd),
	.snd(sound)
);
endmodule
module Buzzer16(
	input clk,
	input rst,
	
	input start,
	input[23:0] in,
	
	output sound
);


wire[5:0] ssound;
wire[1:0] vol;


wire[2:0] nsound;

wire finish;

buzzerMan bMan(.clk(clk),
			 .rst(rst),
	
			 .in(in),
			 .start(start),
			 
			 .vol(vol),
			 .sig(ssound)
);


wire[1:0] tt;
wire snd1;
wire ff;

generator gen1(
	.clk(clk),
	.rst(rst),
	.tt(tt),
	.sound(ssound),
	.snd(snd1),
	
	.finish(finish)
);


wire snd = snd1;


volumer volx(
	.clk(clk),
	.rst(rst),
	.vol(vol),
	
	.tt(tt),
	.ff(ff)
);

wire insnd;

bufferconnector bc(
	.clk(clk),
	
	.snd(snd),
	
	.ff(ff),
	
	.sound(insnd)
);

singleBuffer sB(
	.clk(clk),
	.insnd(~insnd),
	.snd(sound)
);
endmodule