data/full_repos/permissive/19404904/bibi.v
 line:18: before: "~"
1: b"%Error: data/full_repos/permissive/19404904/bibi.v:18: syntax error, unexpected '~', expecting TYPE-IDENTIFIER\nalways @(posedge clk or posedge ~rst)\n                                ^\n%Error: Cannot continue\n"
module bibi(clk,rst,Borrow,Borrowf);


input clk,rst;
output [3:0] Borrow;
output [3:0] Borrowf;


wire clk,rst;


reg [3:0] Counterr=0;
reg [3:0] Counterg=15;

assign Borrow[3:0] = Counterr[3:0];
assign Borrowf[3:0] = Counterg[3:0];

always @(posedge clk or posedge ~rst)
	begin
		if(rst==0)
		begin
			Counterg = 15;
			Counterr = 0;
		end
		else
		begin
			Counterr = ~Counterg;
			Counterg = ~Counterg;

		end
	end
endmodule
module bibi(clk,rst,Borrow,Borrowf);



input clk,rst;
output [3:0] Borrow;
output [3:0] Borrowf;


wire clk,rst;


reg [3:0] Counterr=0;
reg [3:0] Counterg=15;

assign Borrow[3:0] = Counterr[3:0];
assign Borrowf[3:0] = Counterg[3:0];

always @(posedge clk or posedge ~rst)
	begin
		if(rst==0)
		begin
			Counterg = 15;
			Counterr = 0;
		end
		else
		begin
			Counterr = ~Counterg;
			Counterg = ~Counterg;

		end
	end
endmodule