data/full_repos/permissive/119107706/Xilinx Project/SourceCode/General Functions/uLib_rounding.v
1: b'%Error: Cannot find file containing module: Project/SourceCode/General\n        ... Looked in:\n             data/full_repos/permissive/119107706/Xilinx/Project/SourceCode/General\n             data/full_repos/permissive/119107706/Xilinx/Project/SourceCode/General.v\n             data/full_repos/permissive/119107706/Xilinx/Project/SourceCode/General.sv\n             Project/SourceCode/General\n             Project/SourceCode/General.v\n             Project/SourceCode/General.sv\n             obj_dir/Project/SourceCode/General\n             obj_dir/Project/SourceCode/General.v\n             obj_dir/Project/SourceCode/General.sv\n%Error: Cannot find file containing module: Functions,data/full_repos/permissive/119107706\n%Error: Cannot find file containing module: data/full_repos/permissive/119107706/Xilinx\n%Error: Cannot find file containing module: Functions/uLib_rounding.v\n%Error: Exiting due to 4 error(s)\n'
module ux_round2pInf_p1 		

		#(parameter WordLength = 32,
						RoundLength = 16)


		(input CLK,
		input  RESET, 
		input  CE, 
		input  signed [WordLength-1:0] x,
		output reg signed [WordLength-1:RoundLength] y);
		

		always @(posedge CLK) begin
			if (RESET) begin
				y <= 0;
			end
			else begin
				if (CE) begin
					if (x[RoundLength-1:0]>0) begin
						y <= x[WordLength-1:RoundLength] + 1'b1;
					end
					else begin
						y <= x[WordLength-1:RoundLength];
					end
				end
			end
		end
endmodule
module ux_round2pInf_p1 		

		#(parameter WordLength = 32,
						RoundLength = 16)


		(input CLK,
		input  RESET, 
		input  CE, 
		input  signed [WordLength-1:0] x,
		output reg signed [WordLength-1:RoundLength] y);

		

		always @(posedge CLK) begin
			if (RESET) begin
				y <= 0;
			end
			else begin
				if (CE) begin
					if (x[RoundLength-1:0]>0) begin
						y <= x[WordLength-1:RoundLength] + 1'b1;
					end
					else begin
						y <= x[WordLength-1:RoundLength];
					end
				end
			end
		end
endmodule