data/full_repos/permissive/52682338/Cells/C43.v
1: b"%Error: data/full_repos/permissive/52682338/Cells/C43.v:11: syntax error, unexpected '~', expecting TYPE-IDENTIFIER\n always @(posedge CK or posedge ~nCL)\n                                ^\n%Error: Exiting due to 1 error(s)\n"
module C43(
	input CK,
	input [3:0] D,
	input nL, EN, CI, nCL,
	output reg [3:0] Q = 4'd0,
	output CO
);

	always @(posedge CK or posedge ~nCL)
	begin
		if (!nL)
			Q <= D;
		else if (!nCL)
			Q <= 4'd0;
		else if (EN & CI)
			#1 Q <= Q + 1'b1;
		else
			Q <= Q;
	end
	
	assign #3 CO = &{Q[3:0], CI};

endmodule
module C43(
	input CK,
	input [3:0] D,
	input nL, EN, CI, nCL,
	output reg [3:0] Q = 4'd0,
	output CO
);


	always @(posedge CK or posedge ~nCL)
	begin
		if (!nL)
			Q <= D;
		else if (!nCL)
			Q <= 4'd0;
		else if (EN & CI)
			#1 Q <= Q + 1'b1;
		else
			Q <= Q;
	end
	
	assign #3 CO = &{Q[3:0], CI};

endmodule