data/full_repos/permissive/20203077/robsparts.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/20203077/robsparts.v:19: 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 \'register\'\nmodule register # (parameter N = 8)\n       ^~~~~~~~\n                                                                     : ... Top module \'register_hl\'\nmodule register_hl # (parameter N = 16)\n       ^~~~~~~~~~~\n                                                                     : ... Top module \'upcreg\'\nmodule upcreg(\n       ^~~~~~\n                                                                     : ... Top module \'mux5\'\nmodule mux5 (input      d0, d1, d2, d3, d4,\n       ^~~~\n                                                                     : ... Top module \'addsub\'\nmodule addsub\n       ^~~~~~\n                                                                     : ... Top module \'counter_down\'\nmodule counter_down\n       ^~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module counter_down
(
	clk,
	reset,
	ena,
	result
);

	input clk;
	input reset;
	input ena;
	output reg [7:0] result;

	always @(posedge clk or posedge reset)
	begin
		if (reset) 
			result = 7;		
		else if (ena) 
			result = result - 1;
	end
endmodule
module counter_down
(
	clk,
	reset,
	ena,
	result
);


	input clk;
	input reset;
	input ena;
	output reg [7:0] result;

	always @(posedge clk or posedge reset)
	begin
		if (reset) 
			result = 7;		
		else if (ena) 
			result = result - 1;
	end
endmodule