data/full_repos/permissive/450922687/Task 1/dataExtract.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/dataExtract.v\n%Error: Exiting due to 3 error(s)\n'
module dataExtract
(
    input [31:0]instruction,
    output reg [63:0]imm_data
);

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


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