data/full_repos/permissive/419538859/lab5/lab5_1.v
1: b"%Error: data/full_repos/permissive/419538859/lab5/lab5_1.v:13: syntax error, unexpected '(', expecting IDENTIFIER\nfreq_div#(13) (clk,reset,clk_sel);\n               ^~~\n%Error: data/full_repos/permissive/419538859/lab5/lab5_1.v:72: syntax error, unexpected '(', expecting IDENTIFIER\ncount4(clk_sel,sel);\n       ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module 	bcd_led(key_code, led);
input	[3:0]key_code;
output	[9:0]led;
reg	[9:0]led;

always@(key_code) 
begin
	case(key_code)
		4'b0000: led = 10'b0000000001;
		4'b0001: led = 10'b0000000010;
		4'b0010: led = 10'b0000000100;
		4'b0011: led = 10'b0000001000;
		4'b0100: led = 10'b0000010000;
		4'b0101: led = 10'b0000100000;
		4'b0110: led = 10'b0001000000;
		4'b0111: led = 10'b0010000000;
		4'b1000: led = 10'b0100000000;
		default: led = 10'b1000000000;
	endcase
end
endmodule
module 	bcd_led(key_code, led);

input	[3:0]key_code;
output	[9:0]led;
reg	[9:0]led;

always@(key_code) 
begin
	case(key_code)
		4'b0000: led = 10'b0000000001;
		4'b0001: led = 10'b0000000010;
		4'b0010: led = 10'b0000000100;
		4'b0011: led = 10'b0000001000;
		4'b0100: led = 10'b0000010000;
		4'b0101: led = 10'b0000100000;
		4'b0110: led = 10'b0001000000;
		4'b0111: led = 10'b0010000000;
		4'b1000: led = 10'b0100000000;
		default: led = 10'b1000000000;
	endcase
end
endmodule