data/full_repos/permissive/193790231/B_counters.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-MULTITOP: data/full_repos/permissive/193790231/B_counters.v:49: 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 \'counter32x\'\nmodule counter32x(\n       ^~~~~~~~~~\n                                                                       : ... Top module \'counter16x_add\'\nmodule counter16x_add(\n       ^~~~~~~~~~~~~~\n                                                                       : ... Top module \'counterBCD4d\'\nmodule counterBCD4d(\n       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_counters.v:16: Cannot find file containing module: \'lab04part01_TFlipAnd\'\n lab04part01_TFlipAnd a1(andOut[0], countVal4x[0], ANDl,      CLK, RESN);\n ^~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/lab04part01_TFlipAnd\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/lab04part01_TFlipAnd.v\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/lab04part01_TFlipAnd.sv\n             lab04part01_TFlipAnd\n             lab04part01_TFlipAnd.v\n             lab04part01_TFlipAnd.sv\n             obj_dir/lab04part01_TFlipAnd\n             obj_dir/lab04part01_TFlipAnd.v\n             obj_dir/lab04part01_TFlipAnd.sv\n%Error: data/full_repos/permissive/193790231/B_counters.v:17: Cannot find file containing module: \'lab04part01_TFlipAnd\'\n lab04part01_TFlipAnd a2(andOut[1], countVal4x[1], andOut[0], CLK, RESN);\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_counters.v:18: Cannot find file containing module: \'lab04part01_TFlipAnd\'\n lab04part01_TFlipAnd a3(andOut[2], countVal4x[2], andOut[1], CLK, RESN);\n ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_counters.v:19: Cannot find file containing module: \'lab04part01_TFlipAnd\'\n lab04part01_TFlipAnd a4(andOut[3], countVal4x[3], andOut[2], CLK, RESN);\n ^~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s), 1 warning(s)\n'
module counterBCD1d(
	output reg [3:0]countVal1dBCD,
	output reg next1d, 
	inputCLK1d, RESN1d
);
	initial countVal1dBCD = 4'h0;
	always@(posedge CLK1d or negedge RESN1d) begin
		
		if(~RESN1d) begin
			countVal1dBCD <= 4'h0;
			next1d <= 1'b0;
		end
		else if(countVal1dBCD < 4'd9) begin
				countVal1dBCD <= countVal1dBCD + 4'h1;
				next1d <= 1'b0;
		end
		else if(countVal1dBCD >= 4'h9) begin
			countVal1dBCD <= 4'h0;
			next1d <= 1'b1;
		end
	end
endmodule
module counterBCD1d(
	output reg [3:0]countVal1dBCD,
	output reg next1d, 
	inputCLK1d, RESN1d
);

	initial countVal1dBCD = 4'h0;
	always@(posedge CLK1d or negedge RESN1d) begin
		
		if(~RESN1d) begin
			countVal1dBCD <= 4'h0;
			next1d <= 1'b0;
		end
		else if(countVal1dBCD < 4'd9) begin
				countVal1dBCD <= countVal1dBCD + 4'h1;
				next1d <= 1'b0;
		end
		else if(countVal1dBCD >= 4'h9) begin
			countVal1dBCD <= 4'h0;
			next1d <= 1'b1;
		end
	end
endmodule