data/full_repos/permissive/450922687/Task 1/alu_64.v
1: b'%Error: Cannot find file containing module: 1,data/full_repos/permissive/450922687\n        ... Looked in:\n             data/full_repos/permissive/450922687/Task/1,data/full_repos/permissive/450922687\n             data/full_repos/permissive/450922687/Task/1,data/full_repos/permissive/450922687.v\n             data/full_repos/permissive/450922687/Task/1,data/full_repos/permissive/450922687.sv\n             1,data/full_repos/permissive/450922687\n             1,data/full_repos/permissive/450922687.v\n             1,data/full_repos/permissive/450922687.sv\n             obj_dir/1,data/full_repos/permissive/450922687\n             obj_dir/1,data/full_repos/permissive/450922687.v\n             obj_dir/1,data/full_repos/permissive/450922687.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/450922687/Task\n%Error: Cannot find file containing module: 1/alu_64.v\n%Error: Exiting due to 3 error(s)\n'
module alu_64(
	input [63:0] a, 
    input [63:0] b,
    input [3:0] ALUOp,
    input [2:0] funct,
	output reg [63:0] Result,
	output reg equal
);
  always @(*)
    begin


      case(ALUOp) 
        4'b0000: Result = a & b;
        4'b0001: Result = a | b;
        4'b0010: Result = a + b ; 
        4'b0110:
          if (a>b)
              Result = a - b;
        else
          Result = b - a;
        4'b1100: Result = ~(a|b);
        4'b0111: Result = a << b;
        
      endcase
      
      if ( Result==64'b0 & funct == 3'b000)
		begin
			equal = 1'b1;
		end
      else if ((a>=b) & funct == 3'b101) 
		begin
			equal = 1'b1; 

		end
      else
        equal =0;
    end
  
endmodule
module alu_64(
	input [63:0] a, 
    input [63:0] b,
    input [3:0] ALUOp,
    input [2:0] funct,
	output reg [63:0] Result,
	output reg equal
);

  always @(*)
    begin


      case(ALUOp) 
        4'b0000: Result = a & b;
        4'b0001: Result = a | b;
        4'b0010: Result = a + b ; 
        4'b0110:
          if (a>b)
              Result = a - b;
        else
          Result = b - a;
        4'b1100: Result = ~(a|b);
        4'b0111: Result = a << b;
        
      endcase
      
      if ( Result==64'b0 & funct == 3'b000)
		begin
			equal = 1'b1;
		end
      else if ((a>=b) & funct == 3'b101) 
		begin
			equal = 1'b1; 

		end
      else
        equal =0;
    end
  
endmodule