data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v
1: b"%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:77: Cannot find file containing module: 'data_controller'\n   data_controller C0(\n   ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/52714256/GYRACC/src/GYRO,data/full_repos/permissive/52714256/data_controller\n             data/full_repos/permissive/52714256/GYRACC/src/GYRO,data/full_repos/permissive/52714256/data_controller.v\n             data/full_repos/permissive/52714256/GYRACC/src/GYRO,data/full_repos/permissive/52714256/data_controller.sv\n             data_controller\n             data_controller.v\n             data_controller.sv\n             obj_dir/data_controller\n             obj_dir/data_controller.v\n             obj_dir/data_controller.sv\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:95: Cannot find file containing module: 'display_clk'\n   display_clk C1(\n   ^~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:105: Cannot find file containing module: 'anode_decoder'\n   anode_decoder C2(\n   ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:114: Cannot find file containing module: 'seven_seg_decoder'\n   seven_seg_decoder C3(\n   ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:125: Cannot find file containing module: 'two_bit_counter'\n   two_bit_counter C4(\n   ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:135: Cannot find file containing module: 'digit_select'\n   digit_select C5(\n   ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:148: Cannot find file containing module: 'decimal_select'\n   decimal_select C6(\n   ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/52714256/GYRACC/src/GYRO/display_controller.v:157: Cannot find file containing module: 'data_select'\n   data_select C7(\n   ^~~~~~~~~~~\n%Error: Exiting due to 8 error(s)\n"
module display_controller(
		clk,
		rst,
		sel,
		temp_data,
		x_axis,
		y_axis,
		z_axis,
		dp,
		an,
		seg,
		display_sel,
		data_out
);




   input        clk;
   input        rst;
   input [1:0]  sel;
   input [7:0]  temp_data;
   input [15:0] x_axis;
   input [15:0] y_axis;
   input [15:0] z_axis;
   input        display_sel;
   output       dp;
   output [3:0] an;
   output [6:0] seg;
   output [15:0] data_out;




   wire [1:0]   control;
   wire         dclk;

   wire [3:0]   digit;
   wire [15:0]  data;
	wire 			 dispSel;
	wire [3:0]	 anodes;
   wire [3:0] D1;
   wire [3:0] D2;
   wire [3:0] D3;
   wire [3:0] D4;
	reg [1:0]    nSel;
	wire [3:0]	 an;








			data_controller C0(
						.clk(clk),
						.dclk(dclk),
						.rst(rst),
						.display_sel(dispSel),
						.sel(sel),
						.data(data),
						.D1(D1),
						.D2(D2),
						.D3(D3),
						.D4(D4),
						.frmt(data_out)
			);
			
			



			display_clk C1(
						.clk(clk),
						.RST(rst),
						.dclk(dclk)
			);
			
			



			anode_decoder C2(
						.anode(anodes),
						.control(control)
			);
			
			



			seven_seg_decoder C3(
						.num_in(digit),
						.control(control),
						.seg_out(seg),
						.display_sel(dispSel)
			);
			
			



			two_bit_counter C4(
						.dclk(dclk),
						.rst(rst),
						.control(control)
			);
			
			



			digit_select C5(
						.d1(D1),
						.d2(D2),
						.d3(D3),
						.d4(D4),
						.control(control),
						.digit(digit)
			);
			
			



			decimal_select C6(
						.control(control),
						.dp(dp)
			);
		




			data_select C7(
						.x_axis(x_axis),
						.y_axis(y_axis),
						.z_axis(z_axis),
						.temp_data(temp_data),
						.sel(sel),
						.data(data)
			);


			assign dispSel = (display_sel == 1'b1 || sel == 2'b11) ? 1'b1 : 1'b0;
			

			assign an = (rst == 1'b1) ? 4'b1111 : anodes;

endmodule
module display_controller(
		clk,
		rst,
		sel,
		temp_data,
		x_axis,
		y_axis,
		z_axis,
		dp,
		an,
		seg,
		display_sel,
		data_out
);





   input        clk;
   input        rst;
   input [1:0]  sel;
   input [7:0]  temp_data;
   input [15:0] x_axis;
   input [15:0] y_axis;
   input [15:0] z_axis;
   input        display_sel;
   output       dp;
   output [3:0] an;
   output [6:0] seg;
   output [15:0] data_out;




   wire [1:0]   control;
   wire         dclk;

   wire [3:0]   digit;
   wire [15:0]  data;
	wire 			 dispSel;
	wire [3:0]	 anodes;
   wire [3:0] D1;
   wire [3:0] D2;
   wire [3:0] D3;
   wire [3:0] D4;
	reg [1:0]    nSel;
	wire [3:0]	 an;








			data_controller C0(
						.clk(clk),
						.dclk(dclk),
						.rst(rst),
						.display_sel(dispSel),
						.sel(sel),
						.data(data),
						.D1(D1),
						.D2(D2),
						.D3(D3),
						.D4(D4),
						.frmt(data_out)
			);
			
			



			display_clk C1(
						.clk(clk),
						.RST(rst),
						.dclk(dclk)
			);
			
			



			anode_decoder C2(
						.anode(anodes),
						.control(control)
			);
			
			



			seven_seg_decoder C3(
						.num_in(digit),
						.control(control),
						.seg_out(seg),
						.display_sel(dispSel)
			);
			
			



			two_bit_counter C4(
						.dclk(dclk),
						.rst(rst),
						.control(control)
			);
			
			



			digit_select C5(
						.d1(D1),
						.d2(D2),
						.d3(D3),
						.d4(D4),
						.control(control),
						.digit(digit)
			);
			
			



			decimal_select C6(
						.control(control),
						.dp(dp)
			);
		




			data_select C7(
						.x_axis(x_axis),
						.y_axis(y_axis),
						.z_axis(z_axis),
						.temp_data(temp_data),
						.sel(sel),
						.data(data)
			);


			assign dispSel = (display_sel == 1'b1 || sel == 2'b11) ? 1'b1 : 1'b0;
			

			assign an = (rst == 1'b1) ? 4'b1111 : anodes;

endmodule