data/full_repos/permissive/463439324/decap/rp761param.v
1: b'%Error: data/full_repos/permissive/463439324/decap/rp761param.v:31: Cannot find include file: params.v\n`include "params.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/463439324/decap,data/full_repos/permissive/463439324/params.v\n             data/full_repos/permissive/463439324/decap,data/full_repos/permissive/463439324/params.v.v\n             data/full_repos/permissive/463439324/decap,data/full_repos/permissive/463439324/params.v.sv\n             params.v\n             params.v.v\n             params.v.sv\n             obj_dir/params.v\n             obj_dir/params.v.v\n             obj_dir/params.v.sv\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:43: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-1:0]     param_r_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:44: Define or directive not defined: \'`RP_D_SIZE\'\n    output reg  [`RP_D_SIZE-1:0]    param_m0;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:129: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-1:0]     param_r_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:130: Define or directive not defined: \'`RP_D_SIZE\'\n    output reg  [`RP_D_SIZE-1:0]    param_m0;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:217: Define or directive not defined: \'`RP_DEPTH\'\n    output      [`RP_DEPTH-2:0]     param_r_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:218: Define or directive not defined: \'`RP_DEPTH\'\n    output      [`RP_DEPTH-1:0]     param_ro_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:220: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-2:0]     param_ri_offset;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:221: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-2:0]     param_ro_offset;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:222: Define or directive not defined: \'`RP_D_SIZE\'\n    output reg  [`RP_D_SIZE-1:0]    param_m0;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:223: Define or directive not defined: \'`RP_INV_SIZE\'\n    output reg  [`RP_INV_SIZE-1:0]  param_m0inv;\n                 ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:229: Define or directive not defined: \'`OUT_DEPTH\'\n    output reg  [`OUT_DEPTH-1:0]    param_outoffset;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:404: Define or directive not defined: \'`RP_DEPTH\'\n    output      [`RP_DEPTH-2:0]     param_r_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:405: Define or directive not defined: \'`RP_DEPTH\'\n    output      [`RP_DEPTH-1:0]     param_ro_max;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:407: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-2:0]     param_ri_offset;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:408: Define or directive not defined: \'`RP_DEPTH\'\n    output reg  [`RP_DEPTH-2:0]     param_ro_offset;\n                 ^~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:409: Define or directive not defined: \'`RP_D_SIZE\'\n    output reg  [`RP_D_SIZE-1:0]    param_m0;\n                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:410: Define or directive not defined: \'`RP_INV_SIZE\'\n    output reg  [`RP_INV_SIZE-1:0]  param_m0inv;\n                 ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/463439324/decap/rp761param.v:416: Define or directive not defined: \'`OUT_DEPTH\'\n    output reg  [`OUT_DEPTH-1:0]    param_outoffset;\n                 ^~~~~~~~~~\n%Error: Exiting due to 19 error(s)\n'
module rp761q4591decode_param ( state_l, state_s,
    state_max, param_r_max, param_ro_max,
    param_ri_offset, param_ro_offset,
    param_m0, param_m0inv,
    param_outs1, param_outsl, param_outsl_first,
    param_r_s1, param_r_sl, param_outoffset
) ; 

    input       [4:0]               state_l;
    input       [4:0]               state_s;

    output      [4:0]               state_max;
    output      [`RP_DEPTH-2:0]     param_r_max;
    output      [`RP_DEPTH-1:0]     param_ro_max;

    output reg  [`RP_DEPTH-2:0]     param_ri_offset;
    output reg  [`RP_DEPTH-2:0]     param_ro_offset;
    output reg  [`RP_D_SIZE-1:0]    param_m0;
    output reg  [`RP_INV_SIZE-1:0]  param_m0inv;
    output reg  [1:0]               param_outs1;
    output reg  [1:0]               param_outsl;
    output      [1:0]               param_outsl_first;
    output reg  [1:0]               param_r_s1;
    output reg  [1:0]               param_r_sl;
    output reg  [`OUT_DEPTH-1:0]    param_outoffset;

    assign state_max = 5'd10;
    assign param_r_max = 'd380;
    assign param_ro_max = 'd760;

    always @ (*) begin
        case(state_l)
            5'd0:    param_ri_offset = 9'd380;
            5'd1:    param_ri_offset = 9'd380;
            5'd2:    param_ri_offset = 9'd379;
            5'd3:    param_ri_offset = 9'd378;
            5'd4:    param_ri_offset = 9'd375;
            5'd5:    param_ri_offset = 9'd369;
            5'd6:    param_ri_offset = 9'd357;
            5'd7:    param_ri_offset = 9'd333;
            5'd8:    param_ri_offset = 9'd285;
            5'd9:    param_ri_offset = 9'd190;
            5'd10:   param_ri_offset = 9'd0;
            default: param_ri_offset = 9'd0;
        endcase
    end

    always @ (*) begin
        case(state_l)
            5'd0:    param_outs1 = 2'd0;
            5'd1:    param_outs1 = 2'd0;
            5'd2:    param_outs1 = 2'd1;
            5'd3:    param_outs1 = 2'd2;
            5'd4:    param_outs1 = 2'd1;
            5'd5:    param_outs1 = 2'd2;
            5'd6:    param_outs1 = 2'd1;
            5'd7:    param_outs1 = 2'd1;
            5'd8:    param_outs1 = 2'd1;
            5'd9:    param_outs1 = 2'd1;
            5'd10:   param_outs1 = 2'd2;
            default: param_outs1 = 2'd0;
        endcase
    end

    assign param_outsl_first = 2'd2;

    always @ (*) begin
        case(state_l)
            5'd0:    param_outsl = param_outsl_first;
            5'd1:    param_outsl = 2'd2;
            5'd2:    param_outsl = 2'd0;
            5'd3:    param_outsl = 2'd1;
            5'd4:    param_outsl = 2'd2;
            5'd5:    param_outsl = 2'd1;
            5'd6:    param_outsl = 2'd2;
            5'd7:    param_outsl = 2'd1;
            5'd8:    param_outsl = 2'd0;
            5'd9:    param_outsl = 2'd0;
            5'd10:   param_outsl = 2'd0;
            default: param_outsl = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_l)
            5'd0:    param_outoffset = 11'd1156;
            5'd1:    param_outoffset = 11'd1154;
            5'd2:    param_outoffset = 11'd1153;
            5'd3:    param_outoffset = 11'd1148;
            5'd4:    param_outoffset = 11'd1141;
            5'd5:    param_outoffset = 11'd1118;
            5'd6:    param_outoffset = 11'd1093;
            5'd7:    param_outoffset = 11'd1045;
            5'd8:    param_outoffset = 11'd950;
            5'd9:    param_outoffset = 11'd760;
            5'd10:   param_outoffset = 11'd0;
            default: param_outoffset = 11'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_ro_offset = 9'd380;
            5'd1:    param_ro_offset = 9'd379;
            5'd2:    param_ro_offset = 9'd378;
            5'd3:    param_ro_offset = 9'd375;
            5'd4:    param_ro_offset = 9'd369;
            5'd5:    param_ro_offset = 9'd357;
            5'd6:    param_ro_offset = 9'd333;
            5'd7:    param_ro_offset = 9'd285;
            5'd8:    param_ro_offset = 9'd190;
            5'd9:    param_ro_offset = 9'd0;
            5'd10:   param_ro_offset = 9'd0;
            default: param_ro_offset = 9'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_r_s1 = 2'd0;
            5'd1:    param_r_s1 = 2'd2;
            5'd2:    param_r_s1 = 2'd2;
            5'd3:    param_r_s1 = 2'd2;
            5'd4:    param_r_s1 = 2'd2;
            5'd5:    param_r_s1 = 2'd2;
            5'd6:    param_r_s1 = 2'd2;
            5'd7:    param_r_s1 = 2'd2;
            5'd8:    param_r_s1 = 2'd2;
            5'd9:    param_r_s1 = 2'd2;
            5'd10:   param_r_s1 = 2'd2;
            default: param_r_s1 = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_r_sl = 2'd1;
            5'd1:    param_r_sl = 2'd2;
            5'd2:    param_r_sl = 2'd1;
            5'd3:    param_r_sl = 2'd2;
            5'd4:    param_r_sl = 2'd2;
            5'd5:    param_r_sl = 2'd2;
            5'd6:    param_r_sl = 2'd2;
            5'd7:    param_r_sl = 2'd2;
            5'd8:    param_r_sl = 2'd1;
            5'd9:    param_r_sl = 2'd1;
            5'd10:   param_r_sl = 2'd1;
            default: param_r_sl = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_m0 = 14'd1;
            5'd1:    param_m0 = 14'd9470;
            5'd2:    param_m0 = 14'd1557;
            5'd3:    param_m0 = 14'd10101;
            5'd4:    param_m0 = 14'd1608;
            5'd5:    param_m0 = 14'd10265;
            5'd6:    param_m0 = 14'd1621;
            5'd7:    param_m0 = 14'd644;
            5'd8:    param_m0 = 14'd406;
            5'd9:    param_m0 = 14'd322;
            5'd10:   param_m0 = 14'd4591;
            default: param_m0 = 14'd1;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_m0inv = 27'd1;
            5'd1:    param_m0inv = 27'd14172;
            5'd2:    param_m0inv = 27'd86202;
            5'd3:    param_m0inv = 27'd13287;
            5'd4:    param_m0inv = 27'd83468;
            5'd5:    param_m0inv = 27'd13075;
            5'd6:    param_m0inv = 27'd82799;
            5'd7:    param_m0inv = 27'd208412;
            5'd8:    param_m0inv = 27'd330585;
            5'd9:    param_m0inv = 27'd416825;
            5'd10:   param_m0inv = 27'd29234;
            default: param_m0inv = 27'd1;
        endcase
    end

endmodule
module rp761q4591decode_param ( state_l, state_s,
    state_max, param_r_max, param_ro_max,
    param_ri_offset, param_ro_offset,
    param_m0, param_m0inv,
    param_outs1, param_outsl, param_outsl_first,
    param_r_s1, param_r_sl, param_outoffset
) ;
 

    input       [4:0]               state_l;
    input       [4:0]               state_s;

    output      [4:0]               state_max;
    output      [`RP_DEPTH-2:0]     param_r_max;
    output      [`RP_DEPTH-1:0]     param_ro_max;

    output reg  [`RP_DEPTH-2:0]     param_ri_offset;
    output reg  [`RP_DEPTH-2:0]     param_ro_offset;
    output reg  [`RP_D_SIZE-1:0]    param_m0;
    output reg  [`RP_INV_SIZE-1:0]  param_m0inv;
    output reg  [1:0]               param_outs1;
    output reg  [1:0]               param_outsl;
    output      [1:0]               param_outsl_first;
    output reg  [1:0]               param_r_s1;
    output reg  [1:0]               param_r_sl;
    output reg  [`OUT_DEPTH-1:0]    param_outoffset;

    assign state_max = 5'd10;
    assign param_r_max = 'd380;
    assign param_ro_max = 'd760;

    always @ (*) begin
        case(state_l)
            5'd0:    param_ri_offset = 9'd380;
            5'd1:    param_ri_offset = 9'd380;
            5'd2:    param_ri_offset = 9'd379;
            5'd3:    param_ri_offset = 9'd378;
            5'd4:    param_ri_offset = 9'd375;
            5'd5:    param_ri_offset = 9'd369;
            5'd6:    param_ri_offset = 9'd357;
            5'd7:    param_ri_offset = 9'd333;
            5'd8:    param_ri_offset = 9'd285;
            5'd9:    param_ri_offset = 9'd190;
            5'd10:   param_ri_offset = 9'd0;
            default: param_ri_offset = 9'd0;
        endcase
    end

    always @ (*) begin
        case(state_l)
            5'd0:    param_outs1 = 2'd0;
            5'd1:    param_outs1 = 2'd0;
            5'd2:    param_outs1 = 2'd1;
            5'd3:    param_outs1 = 2'd2;
            5'd4:    param_outs1 = 2'd1;
            5'd5:    param_outs1 = 2'd2;
            5'd6:    param_outs1 = 2'd1;
            5'd7:    param_outs1 = 2'd1;
            5'd8:    param_outs1 = 2'd1;
            5'd9:    param_outs1 = 2'd1;
            5'd10:   param_outs1 = 2'd2;
            default: param_outs1 = 2'd0;
        endcase
    end

    assign param_outsl_first = 2'd2;

    always @ (*) begin
        case(state_l)
            5'd0:    param_outsl = param_outsl_first;
            5'd1:    param_outsl = 2'd2;
            5'd2:    param_outsl = 2'd0;
            5'd3:    param_outsl = 2'd1;
            5'd4:    param_outsl = 2'd2;
            5'd5:    param_outsl = 2'd1;
            5'd6:    param_outsl = 2'd2;
            5'd7:    param_outsl = 2'd1;
            5'd8:    param_outsl = 2'd0;
            5'd9:    param_outsl = 2'd0;
            5'd10:   param_outsl = 2'd0;
            default: param_outsl = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_l)
            5'd0:    param_outoffset = 11'd1156;
            5'd1:    param_outoffset = 11'd1154;
            5'd2:    param_outoffset = 11'd1153;
            5'd3:    param_outoffset = 11'd1148;
            5'd4:    param_outoffset = 11'd1141;
            5'd5:    param_outoffset = 11'd1118;
            5'd6:    param_outoffset = 11'd1093;
            5'd7:    param_outoffset = 11'd1045;
            5'd8:    param_outoffset = 11'd950;
            5'd9:    param_outoffset = 11'd760;
            5'd10:   param_outoffset = 11'd0;
            default: param_outoffset = 11'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_ro_offset = 9'd380;
            5'd1:    param_ro_offset = 9'd379;
            5'd2:    param_ro_offset = 9'd378;
            5'd3:    param_ro_offset = 9'd375;
            5'd4:    param_ro_offset = 9'd369;
            5'd5:    param_ro_offset = 9'd357;
            5'd6:    param_ro_offset = 9'd333;
            5'd7:    param_ro_offset = 9'd285;
            5'd8:    param_ro_offset = 9'd190;
            5'd9:    param_ro_offset = 9'd0;
            5'd10:   param_ro_offset = 9'd0;
            default: param_ro_offset = 9'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_r_s1 = 2'd0;
            5'd1:    param_r_s1 = 2'd2;
            5'd2:    param_r_s1 = 2'd2;
            5'd3:    param_r_s1 = 2'd2;
            5'd4:    param_r_s1 = 2'd2;
            5'd5:    param_r_s1 = 2'd2;
            5'd6:    param_r_s1 = 2'd2;
            5'd7:    param_r_s1 = 2'd2;
            5'd8:    param_r_s1 = 2'd2;
            5'd9:    param_r_s1 = 2'd2;
            5'd10:   param_r_s1 = 2'd2;
            default: param_r_s1 = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_r_sl = 2'd1;
            5'd1:    param_r_sl = 2'd2;
            5'd2:    param_r_sl = 2'd1;
            5'd3:    param_r_sl = 2'd2;
            5'd4:    param_r_sl = 2'd2;
            5'd5:    param_r_sl = 2'd2;
            5'd6:    param_r_sl = 2'd2;
            5'd7:    param_r_sl = 2'd2;
            5'd8:    param_r_sl = 2'd1;
            5'd9:    param_r_sl = 2'd1;
            5'd10:   param_r_sl = 2'd1;
            default: param_r_sl = 2'd0;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_m0 = 14'd1;
            5'd1:    param_m0 = 14'd9470;
            5'd2:    param_m0 = 14'd1557;
            5'd3:    param_m0 = 14'd10101;
            5'd4:    param_m0 = 14'd1608;
            5'd5:    param_m0 = 14'd10265;
            5'd6:    param_m0 = 14'd1621;
            5'd7:    param_m0 = 14'd644;
            5'd8:    param_m0 = 14'd406;
            5'd9:    param_m0 = 14'd322;
            5'd10:   param_m0 = 14'd4591;
            default: param_m0 = 14'd1;
        endcase
    end

    always @ (*) begin
        case(state_s)
            5'd0:    param_m0inv = 27'd1;
            5'd1:    param_m0inv = 27'd14172;
            5'd2:    param_m0inv = 27'd86202;
            5'd3:    param_m0inv = 27'd13287;
            5'd4:    param_m0inv = 27'd83468;
            5'd5:    param_m0inv = 27'd13075;
            5'd6:    param_m0inv = 27'd82799;
            5'd7:    param_m0inv = 27'd208412;
            5'd8:    param_m0inv = 27'd330585;
            5'd9:    param_m0inv = 27'd416825;
            5'd10:   param_m0inv = 27'd29234;
            default: param_m0inv = 27'd1;
        endcase
    end

endmodule