data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:55: Unsupported: Ignoring delay on this delayed statement.\n  #5 clk = ~clk;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:68: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:75: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:82: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:89: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:96: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:103: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:110: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:117: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:124: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:131: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:138: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:145: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:152: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:159: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:166: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:173: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:180: Unsupported: Ignoring delay on this delayed statement.\n  #10;\n  ^\n%Error: data/full_repos/permissive/42178149/Pruebas_Controlador_Gato.v:31: Cannot find file containing module: \'Controlador_Gato\'\n Controlador_Gato uut (\n ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42178149,data/full_repos/permissive/42178149/Controlador_Gato\n             data/full_repos/permissive/42178149,data/full_repos/permissive/42178149/Controlador_Gato.v\n             data/full_repos/permissive/42178149,data/full_repos/permissive/42178149/Controlador_Gato.sv\n             Controlador_Gato\n             Controlador_Gato.v\n             Controlador_Gato.sv\n             obj_dir/Controlador_Gato\n             obj_dir/Controlador_Gato.v\n             obj_dir/Controlador_Gato.sv\n%Error: Exiting due to 1 error(s), 18 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Pruebas_Controlador_Gato;


	reg clk;
	reg reset_all;
	reg reset_game;
	reg boton_arriba_reg;
	reg boton_abajo_reg;
	reg boton_izq_reg;
	reg boton_der_reg;
	reg boton_elige_reg;


	wire [3:0] cuadro;
	wire [3:0] circulo;
	wire [3:0] equis;
	wire [1:0] vertical;
	wire [1:0] horizontal;
	wire [1:0] cruzada;
	wire [2:0] state;
	wire turno_p1_wire;
	wire turno_p2_wire;
	wire win_game;
	wire loss_game;
	wire tie_game;


	Controlador_Gato uut (
		.clk(clk), 
		.reset_all(reset_all), 
		.reset_game(reset_game), 
		.cuadro(cuadro), 
		.circulo(circulo), 
		.equis(equis), 
		.vertical(vertical), 
		.horizontal(horizontal), 
		.cruzada(cruzada), 
		.state(state), 
		.boton_arriba_reg(boton_arriba_reg), 
		.boton_abajo_reg(boton_abajo_reg), 
		.boton_izq_reg(boton_izq_reg), 
		.boton_der_reg(boton_der_reg), 
		.boton_elige_reg(boton_elige_reg), 
		.turno_p1_wire(turno_p1_wire), 
		.turno_p2_wire(turno_p2_wire), 
		.win_game(win_game), 
		.loss_game(loss_game), 
		.tie_game(tie_game)
	);
	
	always
		#5 clk = ~clk;

	initial begin

		clk = 0;
		reset_all = 0;
		reset_game = 0;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;

		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 1;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 1;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 1;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;

	end
      
endmodule
module Pruebas_Controlador_Gato;



	reg clk;
	reg reset_all;
	reg reset_game;
	reg boton_arriba_reg;
	reg boton_abajo_reg;
	reg boton_izq_reg;
	reg boton_der_reg;
	reg boton_elige_reg;


	wire [3:0] cuadro;
	wire [3:0] circulo;
	wire [3:0] equis;
	wire [1:0] vertical;
	wire [1:0] horizontal;
	wire [1:0] cruzada;
	wire [2:0] state;
	wire turno_p1_wire;
	wire turno_p2_wire;
	wire win_game;
	wire loss_game;
	wire tie_game;


	Controlador_Gato uut (
		.clk(clk), 
		.reset_all(reset_all), 
		.reset_game(reset_game), 
		.cuadro(cuadro), 
		.circulo(circulo), 
		.equis(equis), 
		.vertical(vertical), 
		.horizontal(horizontal), 
		.cruzada(cruzada), 
		.state(state), 
		.boton_arriba_reg(boton_arriba_reg), 
		.boton_abajo_reg(boton_abajo_reg), 
		.boton_izq_reg(boton_izq_reg), 
		.boton_der_reg(boton_der_reg), 
		.boton_elige_reg(boton_elige_reg), 
		.turno_p1_wire(turno_p1_wire), 
		.turno_p2_wire(turno_p2_wire), 
		.win_game(win_game), 
		.loss_game(loss_game), 
		.tie_game(tie_game)
	);
	
	always
		#5 clk = ~clk;

	initial begin

		clk = 0;
		reset_all = 0;
		reset_game = 0;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;

		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 1;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 1;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 1;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 1;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 1;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 1;
		
		#10;
		boton_arriba_reg = 0;
		boton_abajo_reg = 0;
		boton_izq_reg = 0;
		boton_der_reg = 0;
		boton_elige_reg = 0;

	end
      
endmodule