data/full_repos/permissive/163484550/maze.v
 line:609: before: "["
1: b"%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                ^~~\n        data/full_repos/permissive/163484550/maze.v:615: ... Location of original declaration\n        input  [N-1:0]   key;                  \n                         ^~~\n%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                       ^~~\n        data/full_repos/permissive/163484550/maze.v:615: ... Location of original declaration\n        input  [N-1:0]   key;                  \n                         ^~~\n%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                              ^~~\n        data/full_repos/permissive/163484550/maze.v:615: ... Location of original declaration\n        input  [N-1:0]   key;                  \n                         ^~~\n%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key_pulse'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                                                  ^~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:616: ... Location of original declaration\n output  [N-1:0]   key_pulse;                   \n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key_pulse'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                                                               ^~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:616: ... Location of original declaration\n output  [N-1:0]   key_pulse;                   \n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:609: Duplicate declaration of port: 'key_pulse'\nmodule debounce (clk,rst,key[0],key[1],key[2],key[3],key_pulse[0],key_pulse[1],key_pulse[2],key_pulse[3]);\n                                                                                            ^~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:616: ... Location of original declaration\n output  [N-1:0]   key_pulse;                   \n                   ^~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber4'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                 ^~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber5'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                            ^~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber6'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                       ^~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber8'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                                  ^~~~~~~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                  ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber9'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                                                  ^~~~~~~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                  ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/163484550/maze.v:153: Duplicate pin connection: '__pinNumber10'\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                                                                  ^~~~~~~~~~~~~~~\n        data/full_repos/permissive/163484550/maze.v:153: ... Location of original pin connection\n debounce c1(clk,~rst,direction1,direction2,direction3,direction4,direction_lock1,direction_lock2,direction_lock3,direction_lock4);\n                                                                  ^~~~~~~~~~~~~~~\n%Error: Exiting due to 12 error(s)\n"
module maze(clk,start,change_map,direction1,direction2,direction3,direction4,digit_seg0,digit_con,r_col,g_col,row);
	input clk;
	input start;
	input change_map;
	input direction1;
	input direction2;
	input direction3;
	input direction4;


	output [7:0] digit_seg0;
	output [7:0] digit_con;
	output [7:0] r_col;
	output [7:0] g_col;
	output [7:0] row;

	wire [4:0] time_sign;
	wire suc;
	wire [6:0] step_cnt;
	wire [3:0] one;
	wire [3:0] ten;
	reg rst1=1'b0;
	wire rst;
	assign rst=rst1;
	countdown l3(.clk(clk),.but(start),.time1(time_sign),.ten(ten),.one(one),.suc(suc));
	lattice_on l1(.clk(clk),.rst(rst),.start(start),.change_map(change_map),.direction1(direction1),.direction2(direction2),.direction3(direction3),.direction4(direction4),.time_sign(time_sign),.row(row),.g_col(g_col),.r_col(r_col),.suc(suc),.step_cnt(step_cnt));
	digit_tube l2(.clk(clk),.start(start),.change_map(change_map),.time_sign(time_sign),.step_cnt(step_cnt),.digit_con(digit_con),.digit_seg0(digit_seg0));

endmodule
module maze(clk,start,change_map,direction1,direction2,direction3,direction4,digit_seg0,digit_con,r_col,g_col,row);

	input clk;
	input start;
	input change_map;
	input direction1;
	input direction2;
	input direction3;
	input direction4;


	output [7:0] digit_seg0;
	output [7:0] digit_con;
	output [7:0] r_col;
	output [7:0] g_col;
	output [7:0] row;

	wire [4:0] time_sign;
	wire suc;
	wire [6:0] step_cnt;
	wire [3:0] one;
	wire [3:0] ten;
	reg rst1=1'b0;
	wire rst;
	assign rst=rst1;
	countdown l3(.clk(clk),.but(start),.time1(time_sign),.ten(ten),.one(one),.suc(suc));
	lattice_on l1(.clk(clk),.rst(rst),.start(start),.change_map(change_map),.direction1(direction1),.direction2(direction2),.direction3(direction3),.direction4(direction4),.time_sign(time_sign),.row(row),.g_col(g_col),.r_col(r_col),.suc(suc),.step_cnt(step_cnt));
	digit_tube l2(.clk(clk),.start(start),.change_map(change_map),.time_sign(time_sign),.step_cnt(step_cnt),.digit_con(digit_con),.digit_seg0(digit_seg0));

endmodule