data/full_repos/permissive/216233427/knockout.v
data/verilator_xmls/a432d5b1-94be-447b-8661-cedbd190cd05.xml
module tournament(champion,a,b,c,d,s2,s1,s0);
	input [1:0]a;
	input[1:0]b;
	input [1:0]c;
	input[1:0]d;
	input s2;
	input s1;
	input s0;
	output [1:0]champion;
	wire [1:0]sf1;
	wire [1:0]sf2;
	match semifinal1(sf1,a,b,s0);

	match semifinal2(sf2,c,d,s1);

	match finals(champion ,sf1,sf2,s2);

endmodule
module tournament(champion,a,b,c,d,s2,s1,s0);

	input [1:0]a;
	input[1:0]b;
	input [1:0]c;
	input[1:0]d;
	input s2;
	input s1;
	input s0;
	output [1:0]champion;
	wire [1:0]sf1;
	wire [1:0]sf2;
	match semifinal1(sf1,a,b,s0);

	match semifinal2(sf2,c,d,s1);

	match finals(champion ,sf1,sf2,s2);

endmodule