data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v
1: b'%Error: data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v:21: Cannot find include file: param.v\n`include "param.v" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/503578084/pipeline,data/full_repos/permissive/503578084/param.v\n             data/full_repos/permissive/503578084/pipeline,data/full_repos/permissive/503578084/param.v.v\n             data/full_repos/permissive/503578084/pipeline,data/full_repos/permissive/503578084/param.v.sv\n             param.v\n             param.v.v\n             param.v.sv\n             obj_dir/param.v\n             obj_dir/param.v.v\n             obj_dir/param.v.sv\n%Error: data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v:32: Define or directive not defined: \'`AND\'\n        `AND:C=A & B;\n        ^~~~\n%Error: data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v:32: syntax error, unexpected \':\', expecting endcase\n        `AND:C=A & B;\n            ^\n%Error: data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v:33: Define or directive not defined: \'`OR\'\n        `OR:C=A | B;\n        ^~~\n%Error: data/full_repos/permissive/503578084/pipeline/alu_logical_arithmetic.v:34: Define or directive not defined: \'`XOR\'\n        `XOR:C=A ^ B;\n        ^~~~\n%Error: Cannot continue\n'
module alu_logic_arithmetic(
    input   [3:0]   alu_op,
    input   [31:0]  A,
    input   [31:0]  B,
    output  reg [31:0]  C
    );
    
always @ (*) begin
    case(alu_op)
        `AND:C=A & B;
        `OR:C=A | B;
        `XOR:C=A ^ B;
        default:C=32'b0;
    endcase
end
    
endmodule
module alu_logic_arithmetic(
    input   [3:0]   alu_op,
    input   [31:0]  A,
    input   [31:0]  B,
    output  reg [31:0]  C
    );

    
always @ (*) begin
    case(alu_op)
        `AND:C=A & B;
        `OR:C=A | B;
        `XOR:C=A ^ B;
        default:C=32'b0;
    endcase
end
    
endmodule