data/full_repos/permissive/101862289/top_level.v
1: b"%Error: data/full_repos/permissive/101862289/top_level.v:37: Cannot find file containing module: 'baud_gen'\n baud_gen baud_generator(.clk(clk), .rst(rst), .cy(en));  \n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/101862289,data/full_repos/permissive/101862289/baud_gen\n             data/full_repos/permissive/101862289,data/full_repos/permissive/101862289/baud_gen.v\n             data/full_repos/permissive/101862289,data/full_repos/permissive/101862289/baud_gen.sv\n             baud_gen\n             baud_gen.v\n             baud_gen.sv\n             obj_dir/baud_gen\n             obj_dir/baud_gen.v\n             obj_dir/baud_gen.sv\n%Error: data/full_repos/permissive/101862289/top_level.v:41: Cannot find file containing module: 'bitgenerator'\n bitgenerator bitgen(.sw(sw), .out(swk_allasa));\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/101862289/top_level.v:47: Cannot find file containing module: 'btn1_pergesmentesito'\n btn1_pergesmentesito btn1_p(.btn(btn1), .clk(clk), .en(en), .btn1_en(btn1_en));\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/101862289/top_level.v:48: Cannot find file containing module: 'btn2_pergesmentesito'\n btn2_pergesmentesito btn2_p(.btn(btn2), .clk(clk), .en(en), .btn2_en(btn2_en));\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/101862289/top_level.v:56: Cannot find file containing module: 'bitcounter'\n bitcounter bitcntr(.start(start), .en(en), .clk(clk), .rst(rst), .out(mpx_select));\n ^~~~~~~~~~\n%Error: Exiting due to 5 error(s)\n"
module top_level(
	input clk,
	input rst,
	input btn1,
	input btn2,
	input[7:0] sw,
	output kimenet,
	output[10:0] bitgen_dbg,
	output[3:0] dbgki,
	output startki,
	output btn1enki,
	output btn2enki
    );


	wire en;
	baud_gen baud_generator(.clk(clk), .rst(rst), .cy(en));

	wire[10:0] swk_allasa;

	bitgenerator bitgen(.sw(sw), .out(swk_allasa));

	wire start;
	wire btn1_en;
	wire btn2_en;

	btn1_pergesmentesito btn1_p(.btn(btn1), .clk(clk), .en(en), .btn1_en(btn1_en));
	btn2_pergesmentesito btn2_p(.btn(btn2), .clk(clk), .en(en), .btn2_en(btn2_en));

	assign start=(btn1_en||btn2_en);
	assign startki=start;
	assign btn1enki=btn1_en;
	assign btn2enki=btn2_en;

	wire[3:0] mpx_select;
	bitcounter bitcntr(.start(start), .en(en), .clk(clk), .rst(rst), .out(mpx_select));


	assign kimenet=swk_allasa[mpx_select];
	assign bitgen_dbg=swk_allasa;
	assign dbgki=mpx_select;


endmodule
module top_level(
	input clk,
	input rst,
	input btn1,
	input btn2,
	input[7:0] sw,
	output kimenet,
	output[10:0] bitgen_dbg,
	output[3:0] dbgki,
	output startki,
	output btn1enki,
	output btn2enki
    );



	wire en;
	baud_gen baud_generator(.clk(clk), .rst(rst), .cy(en));

	wire[10:0] swk_allasa;

	bitgenerator bitgen(.sw(sw), .out(swk_allasa));

	wire start;
	wire btn1_en;
	wire btn2_en;

	btn1_pergesmentesito btn1_p(.btn(btn1), .clk(clk), .en(en), .btn1_en(btn1_en));
	btn2_pergesmentesito btn2_p(.btn(btn2), .clk(clk), .en(en), .btn2_en(btn2_en));

	assign start=(btn1_en||btn2_en);
	assign startki=start;
	assign btn1enki=btn1_en;
	assign btn2enki=btn2_en;

	wire[3:0] mpx_select;
	bitcounter bitcntr(.start(start), .en(en), .clk(clk), .rst(rst), .out(mpx_select));


	assign kimenet=swk_allasa[mpx_select];
	assign bitgen_dbg=swk_allasa;
	assign dbgki=mpx_select;


endmodule