data/full_repos/permissive/193759799/src/Main.v
 line:25: before: "input"
1: b'%Error: data/full_repos/permissive/193759799/src/Main.v:1: Cannot find include file: ALU.v\n`include "ALU.v" \n         ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/193759799/src,data/full_repos/permissive/193759799/ALU.v\n             data/full_repos/permissive/193759799/src,data/full_repos/permissive/193759799/ALU.v.v\n             data/full_repos/permissive/193759799/src,data/full_repos/permissive/193759799/ALU.v.sv\n             ALU.v\n             ALU.v.v\n             ALU.v.sv\n             obj_dir/ALU.v\n             obj_dir/ALU.v.v\n             obj_dir/ALU.v.sv\n%Error: data/full_repos/permissive/193759799/src/Main.v:2: Cannot find include file: ALUControl.v\n`include "ALUControl.v" \n         ^~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n'
module Main (
  input       [1:0]  aluOp,
  input       [31:0] instruction, muxOutA, muxOutB,
  output      [31:0] aluOut,
  output wire [3:0]  aluControlOutMain,
  output wire        overflow
  );


  wire [5:0] opCode = instruction[31:26];
  wire [4:0] rs = instruction[25:21];
  wire [4:0] rt = instruction[20:16];


  wire [5:0] rd = instruction[15:11];
  wire [5:0] shamt = instruction[10:6];
  wire [5:0] funct = instruction[5:0];


  wire [15:0] imm = instruction[15:0];

  ALUControl aluControl (
    .ALUOp(aluOp),
    .OpCode(opCode),
    .Funct(funct),
    .ALUControlOut(aluControlOutMain)
  );

  ALU alu (
    .MuxOutA(muxOutA),
    .MuxOutB(muxOutB),
    .ALUCtrlOut(aluControlOutMain),
    .ALUOut(aluOut),
    .Overflow(overflow)
  );

endmodule
module Main (
  input       [1:0]  aluOp,
  input       [31:0] instruction, muxOutA, muxOutB,
  output      [31:0] aluOut,
  output wire [3:0]  aluControlOutMain,
  output wire        overflow
  );



  wire [5:0] opCode = instruction[31:26];
  wire [4:0] rs = instruction[25:21];
  wire [4:0] rt = instruction[20:16];


  wire [5:0] rd = instruction[15:11];
  wire [5:0] shamt = instruction[10:6];
  wire [5:0] funct = instruction[5:0];


  wire [15:0] imm = instruction[15:0];

  ALUControl aluControl (
    .ALUOp(aluOp),
    .OpCode(opCode),
    .Funct(funct),
    .ALUControlOut(aluControlOutMain)
  );

  ALU alu (
    .MuxOutA(muxOutA),
    .MuxOutB(muxOutB),
    .ALUCtrlOut(aluControlOutMain),
    .ALUOut(aluOut),
    .Overflow(overflow)
  );

endmodule