data/full_repos/permissive/113780415/src/RPSGame.v
 line:14: before: "["
1: b"%Error: data/full_repos/permissive/113780415/src/RPSGame.v:14: syntax error, unexpected '[', expecting TYPE-IDENTIFIER\n   .q([1:0]computer)\n      ^\n%Error: data/full_repos/permissive/113780415/src/RPSGame.v:19: Define or directive not defined: '`b0'\n  if (stop == 1`b0)\n               ^~~\n%Error: data/full_repos/permissive/113780415/src/RPSGame.v:20: syntax error, unexpected IDENTIFIER\n   winner_indicator wi (\n                    ^~\n%Error: data/full_repos/permissive/113780415/src/RPSGame.v:43: syntax error, unexpected IDENTIFIER\n  if (player == 2b'00 && computer == 2b'00)\n                 ^\n%Error: Exiting due to 4 error(s)\n"
module winner_indicator(player, computer, winner);



	input [1:0] player;
	input [1:0] computer;
	output reg [1:0] winner;
	



	always @(*)
	begin


		if (player == 2b'00 && computer == 2b'00)
			winner <= 2b'11;


		else if (player == 2b'00 && computer == 2b'01)
			winner <= 2b'01;


		else if (player == 2b'00 && computer == 2b'10)
			winner <= 2b'00;


		else if (player == 2b'01 && computer == 2b'01)
			winner <= 2b'11;


		else if (player == 2b'01 && computer == 2b'10)
			winner <= 2b'01;


		else if (player == 2b'01 && computer == 2b'00)
			winner <= 2b'00;


		else if (player == 2b'10 && computer == 2b'10)
			winner <= 2b'11;


		else if (player == 2b'10 && computer == 2b'00)
			winner <= 2b'01;


		else
			winner <= 2b'00;
	end
endmodule
module winner_indicator(player, computer, winner);




	input [1:0] player;
	input [1:0] computer;
	output reg [1:0] winner;
	



	always @(*)
	begin


		if (player == 2b'00 && computer == 2b'00)
			winner <= 2b'11;


		else if (player == 2b'00 && computer == 2b'01)
			winner <= 2b'01;


		else if (player == 2b'00 && computer == 2b'10)
			winner <= 2b'00;


		else if (player == 2b'01 && computer == 2b'01)
			winner <= 2b'11;


		else if (player == 2b'01 && computer == 2b'10)
			winner <= 2b'01;


		else if (player == 2b'01 && computer == 2b'00)
			winner <= 2b'00;


		else if (player == 2b'10 && computer == 2b'10)
			winner <= 2b'11;


		else if (player == 2b'10 && computer == 2b'00)
			winner <= 2b'01;


		else
			winner <= 2b'00;
	end
endmodule