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 register # (parameter N = 8)
	(input clk,
	 input [N-1:0] in,
    output reg [N-1:0] out,
    input load,
    input clear
    );
	 
	 always @ (posedge clk or posedge clear)
		if (clear)		out <= 0;
		else if (load)	out <= in;
		else			out <= in;

endmodule
module register # (parameter N = 8)
	(input clk,
	 input [N-1:0] in,
    output reg [N-1:0] out,
    input load,
    input clear
    );

	 
	 always @ (posedge clk or posedge clear)
		if (clear)		out <= 0;
		else if (load)	out <= in;
		else			out <= in;

endmodule