data/full_repos/permissive/160976968/adder.v
1: b"%Error: data/full_repos/permissive/160976968/adder.v:10: syntax error, unexpected '(', expecting IDENTIFIER\n comparator(SW[3:0], 0, X_EC);\n            ^~\n%Error: Exiting due to 1 error(s)\n"
module SW_in_to_2dig_dec(SW_in, disp1, disp0, cin);
	input [3:0]SW_in;
	input cin;
	output [0:6]disp1;
	output [0:6]disp0;
	wire [3:0]A_out, mux_out;
	wire [6:0]ones, tens;
	wire z;
	
	comparator C(SW_in[3:0], cin, z);
	circuitA A(SW_in[3:0], cin, A_out);
	mux M(z, SW_in[3:0], A_out, mux_out);
	to_hex H0(mux_out, ones);
	assign disp0 = ones;
	
	wire [3:0]z_arr;
	assign z_arr[3] = 0;
	assign z_arr[2] = 0;
	assign z_arr[1] = 0;
	assign z_arr[0] = z;
	
	to_hex H1(z_arr, tens);
	assign disp1 = tens;
endmodule
module SW_in_to_2dig_dec(SW_in, disp1, disp0, cin);

	input [3:0]SW_in;
	input cin;
	output [0:6]disp1;
	output [0:6]disp0;
	wire [3:0]A_out, mux_out;
	wire [6:0]ones, tens;
	wire z;
	
	comparator C(SW_in[3:0], cin, z);
	circuitA A(SW_in[3:0], cin, A_out);
	mux M(z, SW_in[3:0], A_out, mux_out);
	to_hex H0(mux_out, ones);
	assign disp0 = ones;
	
	wire [3:0]z_arr;
	assign z_arr[3] = 0;
	assign z_arr[2] = 0;
	assign z_arr[1] = 0;
	assign z_arr[0] = z;
	
	to_hex H1(z_arr, tens);
	assign disp1 = tens;
endmodule