data/full_repos/permissive/521337848/Hardware/procesor/muldivB.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/521337848/Hardware/procesor/muldivB.v:12: 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 \'shar\'\nmodule shar(\n       ^~~~\n                                                                                      : ... Top module \'shal\'\nmodule shal(\n       ^~~~\n                                                                                      : ... Top module \'muldivB\'\nmodule muldivB(\n       ^~~~~~~\n                                                                                      : ... Top module \'shaColl\'\nmodule shaColl(\n       ^~~~~~~\n                                                                                      : ... Top module \'exceptCollector\'\nmodule exceptCollector(\n       ^~~~~~~~~~~~~~~\n                                                                                      : ... Top module \'buff7\'\nmodule buff7(\n       ^~~~~\n%Warning-WIDTH: data/full_repos/permissive/521337848/Hardware/procesor/muldivB.v:149: Input port connection \'num2\' expects 3 bits on the pin connection, but pin connection\'s VARREF \'num2\' generates 16 bits.\n                                                                                    : ... In instance muldivB\n .num2(num2),\n  ^~~~\n%Error: data/full_repos/permissive/521337848/Hardware/procesor/muldivB.v:164: Cannot find file containing module: \'divider\'\ndivider dvd(.clk(clk),\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/521337848/Hardware/procesor,data/full_repos/permissive/521337848/divider\n             data/full_repos/permissive/521337848/Hardware/procesor,data/full_repos/permissive/521337848/divider.v\n             data/full_repos/permissive/521337848/Hardware/procesor,data/full_repos/permissive/521337848/divider.sv\n             divider\n             divider.v\n             divider.sv\n             obj_dir/divider\n             obj_dir/divider.v\n             obj_dir/divider.sv\n%Error: data/full_repos/permissive/521337848/Hardware/procesor/muldivB.v:178: Cannot find file containing module: \'multiplier\'\nmultiplier mu(.clk(clk),\n^~~~~~~~~~\n%Error: Exiting due to 2 error(s), 2 warning(s)\n'
module shaColl(
	input[2:0] arg,
	input[15:0] in1,
	input[15:0] in2,
	input[15:0] in3,
	input[15:0] in4,
	input[15:0] in5,
	input[15:0] in6,
	input[15:0] in7,
	input[15:0] in8,
	
	output reg[15:0] out
);

always@(*)
	case(arg)
		0: out <= in1;
		1: out <= in2;
		2: out <= in3;
		3: out <= in4;
		4: out <= in5;
		5: out <= in6;
		6: out <= in7;
		7: out <= in8;
		default: out <= in1;
	endcase
	
endmodule
module shaColl(
	input[2:0] arg,
	input[15:0] in1,
	input[15:0] in2,
	input[15:0] in3,
	input[15:0] in4,
	input[15:0] in5,
	input[15:0] in6,
	input[15:0] in7,
	input[15:0] in8,
	
	output reg[15:0] out
);


always@(*)
	case(arg)
		0: out <= in1;
		1: out <= in2;
		2: out <= in3;
		3: out <= in4;
		4: out <= in5;
		5: out <= in6;
		6: out <= in7;
		7: out <= in8;
		default: out <= in1;
	endcase
	
endmodule