data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v
1: b"%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:11: Cannot find file containing module: 'ander'\n ander A(resZero,zero,32'h0000_0000);\n ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files,data/full_repos/permissive/159823067/ander\n             data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files,data/full_repos/permissive/159823067/ander.v\n             data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files,data/full_repos/permissive/159823067/ander.sv\n             ander\n             ander.v\n             ander.sv\n             obj_dir/ander\n             obj_dir/ander.v\n             obj_dir/ander.sv\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:13: Cannot find file containing module: 'muxLevel0'\n muxLevel0 M0(MUX0, a, b[0]);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:14: Cannot find file containing module: 'muxLevel1'\n muxLevel1 M1(MUX1, MUX0, b[1]);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:15: Cannot find file containing module: 'muxLevel2'\n muxLevel2 M2(MUX2, MUX1, b[2]);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:16: Cannot find file containing module: 'muxLevel3'\n muxLevel3 M3(MUX3, MUX2, b[3]);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:17: Cannot find file containing module: 'muxLevel4'\n muxLevel4 M4(resShift, MUX3, b[4]);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/159823067/omercevik_hw3_32bitMipsRType_verilog_files/logical_shift_right.v:19: Cannot find file containing module: 'allmuxer2to1'\n allmuxer2to1 M5(Res,resZero,resShift,temp );\n ^~~~~~~~~~~~\n%Error: Exiting due to 7 error(s)\n"
module logical_shift_right(Res, a, b);
	input [31:0] a, b;
	output [31:0] Res;
	
	wire temp;
	wire [31:0] zero,MUX0,MUX1,MUX2,MUX3,resZero,resShift;
	or (temp, b[31], b[30], b[29], b[28], b[27], b[26], b[25], b[24], b[23],
			b[22], b[21], b[20], b[19], b[18], b[17], b[16], b[15], b[14], b[13],
			b[12], b[11], b[10], b[9], b[8], b[7], b[6], b[5]);
			
	ander A(resZero,zero,32'h0000_0000);
	
	muxLevel0 M0(MUX0, a, b[0]);
	muxLevel1 M1(MUX1, MUX0, b[1]);
	muxLevel2 M2(MUX2, MUX1, b[2]);
	muxLevel3 M3(MUX3, MUX2, b[3]);
	muxLevel4 M4(resShift, MUX3, b[4]);
	
	allmuxer2to1 M5(Res,resZero,resShift,temp );
endmodule
module logical_shift_right(Res, a, b);

	input [31:0] a, b;
	output [31:0] Res;
	
	wire temp;
	wire [31:0] zero,MUX0,MUX1,MUX2,MUX3,resZero,resShift;
	or (temp, b[31], b[30], b[29], b[28], b[27], b[26], b[25], b[24], b[23],
			b[22], b[21], b[20], b[19], b[18], b[17], b[16], b[15], b[14], b[13],
			b[12], b[11], b[10], b[9], b[8], b[7], b[6], b[5]);
			
	ander A(resZero,zero,32'h0000_0000);
	
	muxLevel0 M0(MUX0, a, b[0]);
	muxLevel1 M1(MUX1, MUX0, b[1]);
	muxLevel2 M2(MUX2, MUX1, b[2]);
	muxLevel3 M3(MUX3, MUX2, b[3]);
	muxLevel4 M4(resShift, MUX3, b[4]);
	
	allmuxer2to1 M5(Res,resZero,resShift,temp );
endmodule