data/full_repos/permissive/106583614/Lab1/LEDfourDigitDriver.v
 line:69: before: "/"
1: b"%Error: data/full_repos/permissive/106583614/Lab1/LEDfourDigitDriver.v:42: Cannot find file containing module: 'LEDdecoder'\n LEDdecoder leddecoder_0(\n ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/106583614/Lab1,data/full_repos/permissive/106583614/LEDdecoder\n             data/full_repos/permissive/106583614/Lab1,data/full_repos/permissive/106583614/LEDdecoder.v\n             data/full_repos/permissive/106583614/Lab1,data/full_repos/permissive/106583614/LEDdecoder.sv\n             LEDdecoder\n             LEDdecoder.v\n             LEDdecoder.sv\n             obj_dir/LEDdecoder\n             obj_dir/LEDdecoder.v\n             obj_dir/LEDdecoder.sv\n%Error: data/full_repos/permissive/106583614/Lab1/LEDfourDigitDriver.v:56: Cannot find file containing module: 'LEDstateDriver'\n LEDstateDriver ledStateDriver_0(\n ^~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module LEDfourDigitDriver(
	reset,
	clk,
	an3,
	an2,
	an1,
	an0,
	a,
	b,
	c,
	d,
	e,
	f,
	g,
	dp,
	r_btn,
	Rx_DATA
);

input reset, clk, r_btn;

output wire an3, an2, an1, an0;
output wire a, b, c, d, e, f, g, dp;

input [7:0] Rx_DATA;

wire [3:0] char;
reg [3:0] state;
wire [7:0] LED;

	always @(posedge clk or posedge reset) begin
		if (reset) begin
		  state <= 4'b1111;
		end else begin
		  state <= state - 1'b1;
		end
	end

	LEDdecoder leddecoder_0(
		.char(char),
		.LED(LED)
	);

	assign a = LED[7];
	assign b = LED[6];
	assign c = LED[5];
	assign d = LED[4];
	assign e = LED[3];
	assign f = LED[2];
	assign g = LED[1];
	assign dp = LED[0]; 
   
	LEDstateDriver ledStateDriver_0(
		.clk(clk),
		.reset(reset),
		.state_in(state),
		.char_out(char),
		.an0_out(an0),
		.an1_out(an1),
		.an2_out(an2),
		.an3_out(an3),
		.r_btn(r_btn),
		.Rx_DATA(Rx_DATA)
	);

endmodule
module LEDfourDigitDriver(
	reset,
	clk,
	an3,
	an2,
	an1,
	an0,
	a,
	b,
	c,
	d,
	e,
	f,
	g,
	dp,
	r_btn,
	Rx_DATA
);


input reset, clk, r_btn;

output wire an3, an2, an1, an0;
output wire a, b, c, d, e, f, g, dp;

input [7:0] Rx_DATA;

wire [3:0] char;
reg [3:0] state;
wire [7:0] LED;

	always @(posedge clk or posedge reset) begin
		if (reset) begin
		  state <= 4'b1111;
		end else begin
		  state <= state - 1'b1;
		end
	end

	LEDdecoder leddecoder_0(
		.char(char),
		.LED(LED)
	);

	assign a = LED[7];
	assign b = LED[6];
	assign c = LED[5];
	assign d = LED[4];
	assign e = LED[3];
	assign f = LED[2];
	assign g = LED[1];
	assign dp = LED[0]; 
   
	LEDstateDriver ledStateDriver_0(
		.clk(clk),
		.reset(reset),
		.state_in(state),
		.char_out(char),
		.an0_out(an0),
		.an1_out(an1),
		.an2_out(an2),
		.an3_out(an3),
		.r_btn(r_btn),
		.Rx_DATA(Rx_DATA)
	);

endmodule