data/full_repos/permissive/450922687/Task 2/Immidiate_data_gen.v
1: b'%Error: Cannot find file containing module: 2,data/full_repos/permissive/450922687\n        ... Looked in:\n             data/full_repos/permissive/450922687/Task/2,data/full_repos/permissive/450922687\n             data/full_repos/permissive/450922687/Task/2,data/full_repos/permissive/450922687.v\n             data/full_repos/permissive/450922687/Task/2,data/full_repos/permissive/450922687.sv\n             2,data/full_repos/permissive/450922687\n             2,data/full_repos/permissive/450922687.v\n             2,data/full_repos/permissive/450922687.sv\n             obj_dir/2,data/full_repos/permissive/450922687\n             obj_dir/2,data/full_repos/permissive/450922687.v\n             obj_dir/2,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: 2/Immidiate_data_gen.v\n%Error: Exiting due to 3 error(s)\n'
module Immidiate_data_gen(
  input [31:0]instruction,
  output reg [63:0] imm_data);
  


 reg [11:0] temp;
  wire [51:0] temp2;
  always @(*)
    begin
      case(instruction[6:5])
        2'b00:
        begin
          temp = instruction[31:20];
        end
        2'b01:
        begin
          temp = {instruction[31:25],instruction[11:7]};
        end
        2'b11:
        begin
          temp = {instruction[31],instruction[7], instruction[30:25],instruction[11:8] };
        end
      endcase
    end
  
endmodule
module Immidiate_data_gen(
  input [31:0]instruction,
  output reg [63:0] imm_data);

  


 reg [11:0] temp;
  wire [51:0] temp2;
  always @(*)
    begin
      case(instruction[6:5])
        2'b00:
        begin
          temp = instruction[31:20];
        end
        2'b01:
        begin
          temp = {instruction[31:25],instruction[11:7]};
        end
        2'b11:
        begin
          temp = {instruction[31],instruction[7], instruction[30:25],instruction[11:8] };
        end
      endcase
    end
  
endmodule