data/full_repos/permissive/450922687/Task 2/Instruction_parser.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/Instruction_parser.v\n%Error: Exiting due to 3 error(s)\n'
module Instruction_parser(
  input [31:0] instruction,
  output reg [6:0] opcode,
  output reg [4:0] rd,
  output reg [2:0] func3,
  output reg [4:0] rs1, rs2,
  output reg [6:0] func7);
  always @(*)
    begin


      opcode = instruction[6:0];
      rd = instruction[11:7];
      func3 = instruction[14:12];
      rs1 = instruction[19:15];
      rs2 = instruction[24:20];
      func7 = instruction[31:25];
    end
endmodule
module Instruction_parser(
  input [31:0] instruction,
  output reg [6:0] opcode,
  output reg [4:0] rd,
  output reg [2:0] func3,
  output reg [4:0] rs1, rs2,
  output reg [6:0] func7);

  always @(*)
    begin


      opcode = instruction[6:0];
      rd = instruction[11:7];
      func3 = instruction[14:12];
      rs1 = instruction[19:15];
      rs2 = instruction[24:20];
      func7 = instruction[31:25];
    end
endmodule