data/full_repos/permissive/159001439/src/tmr.v
'utf-8' codec can't decode byte 0xc8 in position 107: invalid continuation byte
1: b'%Warning-MULTITOP: data/full_repos/permissive/159001439/src/tmr.v:40: Multiple top level modules\n                                                                    : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                    : ... Top module \'tmrr\'\nmodule tmrr\n       ^~~~\n                                                                    : ... Top module \'tmrs\'\nmodule tmrs\n       ^~~~\n                                                                    : ... Top module \'tmrre\'\nmodule tmrre\n       ^~~~~\n                                                                    : ... Top module \'tmrre3\'\nmodule tmrre3\n       ^~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module tmrr
#(
	parameter dw=1
)
(
	input [dw-1:0] d,
	input c,
	input r,
	output [dw-1:0] q
);
reg [dw-1:0] q1, q2, q3;

always @(posedge c, posedge r) 
begin
	if(r) 
	begin
		q1 <= 'b0;
		q2 <= 'b0;
		q3 <= 'b0;
	end 
	else 
	begin
		q1 <= d;
		q2 <= d;
		q3 <= d;
	end
end
assign q = (q1 & q2) | (q1 & q3) | (q2 & q3);
endmodule
module tmrr
#(
	parameter dw=1
)
(
	input [dw-1:0] d,
	input c,
	input r,
	output [dw-1:0] q
);

reg [dw-1:0] q1, q2, q3;

always @(posedge c, posedge r) 
begin
	if(r) 
	begin
		q1 <= 'b0;
		q2 <= 'b0;
		q3 <= 'b0;
	end 
	else 
	begin
		q1 <= d;
		q2 <= d;
		q3 <= d;
	end
end
assign q = (q1 & q2) | (q1 & q3) | (q2 & q3);
endmodule