data/full_repos/permissive/177233467/usb/strobe.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/177233467/usb/strobe.v:47: Multiple top level modules\n                                                                       : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                       : ... Top module \'strobe\'\nmodule strobe(\n       ^~~~~~\n                                                                       : ... Top module \'dflip\'\nmodule dflip(\n       ^~~~~\n                                                                       : ... Top module \'delay\'\nmodule delay(\n       ^~~~~\n%Error: Exiting due to 1 warning(s)\n'
module delay(
	input clk,
	input in,
	output out
);
	parameter DELAY = 1;

	generate
	if (DELAY == 0) begin
		assign out = in;
	end else
	if (DELAY == 1) begin
		reg buffer;
		always @(posedge clk)
			buffer <= in;
		assign out = buffer;
	end else begin
		reg [DELAY-1:0] buffer;
		always @(posedge clk)
			buffer <= { buffer[DELAY-2:0], in };
		assign out = buffer[DELAY-1];
	end
	endgenerate
endmodule
module delay(
	input clk,
	input in,
	output out
);

	parameter DELAY = 1;

	generate
	if (DELAY == 0) begin
		assign out = in;
	end else
	if (DELAY == 1) begin
		reg buffer;
		always @(posedge clk)
			buffer <= in;
		assign out = buffer;
	end else begin
		reg [DELAY-1:0] buffer;
		always @(posedge clk)
			buffer <= { buffer[DELAY-2:0], in };
		assign out = buffer[DELAY-1];
	end
	endgenerate
endmodule