data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v
 line:64: before: ","
1: b"%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:163: Cannot find file containing module: 'S4'\n    S4\n    ^~\n        ... Looked in:\n             data/full_repos/permissive/150152921/apps/aes/step7/rtl,data/full_repos/permissive/150152921/S4\n             data/full_repos/permissive/150152921/apps/aes/step7/rtl,data/full_repos/permissive/150152921/S4.v\n             data/full_repos/permissive/150152921/apps/aes/step7/rtl,data/full_repos/permissive/150152921/S4.sv\n             S4\n             S4.v\n             S4.sv\n             obj_dir/S4\n             obj_dir/S4.v\n             obj_dir/S4.sv\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:120: Cannot find file containing module: 'S4'\n    S4\n    ^~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:43: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s2_rc(clk, {s2_pre, k2_pre}, {s2_post, k2_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:44: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s3_rc(clk, {s3_pre, k3_pre}, {s3_post, k3_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:45: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s4_rc(clk, {s4_pre, k4_pre}, {s4_post, k4_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:46: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s5_rc(clk, {s5_pre, k5_pre}, {s5_post, k5_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:47: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s6_rc(clk, {s6_pre, k6_pre}, {s6_post, k6_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:48: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s7_rc(clk, {s7_pre, k7_pre}, {s7_post, k7_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:49: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s8_rc(clk, {s8_pre, k8_pre}, {s8_post, k8_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:50: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s9_rc(clk, {s9_pre, k9_pre}, {s9_post, k9_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:51: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s10_rc(clk, {s10_pre, k10_pre}, {s10_post, k10_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:52: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s11_rc(clk, {s11_pre, k11_pre}, {s11_post, k11_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:53: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s12_rc(clk, {s12_pre, k12_pre}, {s12_post, k12_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:54: Cannot find file containing module: 'regchain'\n    regchain #(6, 384) s13_rc(clk, {s13_pre, k13_pre}, {s13_post, k13_post});\n    ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:74: Cannot find file containing module: 'one_round'\n    one_round\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/aes/step7/rtl/aes_256.v:89: Cannot find file containing module: 'final_round'\n    final_round\n    ^~~~~~~~~~~\n%Error: Exiting due to 16 error(s)\n"
module expand_key_type_B_256 (clk, in, out_1, out_2);
    input              clk;
    input      [255:0] in;
    output reg [255:0] out_1;
    output     [127:0] out_2;
    wire       [31:0]  k0, k1, k2, k3, k4, k5, k6, k7,
                       v5, v6, v7;
    reg        [31:0]  k0a, k1a, k2a, k3a, k4a, k5a, k6a, k7a;
    wire       [31:0]  k0b, k1b, k2b, k3b, k4b, k5b, k6b, k7b, k8a;

    reg        [255:0] tmp;

    assign {k0, k1, k2, k3, k4, k5, k6, k7} = in;

    assign v5 = k4 ^ k5;
    assign v6 = v5 ^ k6;
    assign v7 = v6 ^ k7;

    always @ (posedge clk)
    begin
        tmp <= {k0, k1, k2, k3, k4, v5, v6, v7};
        {k0a, k1a, k2a, k3a, k4a, k5a, k6a, k7a} <= tmp;
    end

    S4
        S4_0 (clk, k3, k8a);

    assign {k0b, k1b, k2b, k3b} = {k0a, k1a, k2a, k3a};
    assign k4b = k4a ^ k8a;
    assign k5b = k5a ^ k8a;
    assign k6b = k6a ^ k8a;
    assign k7b = k7a ^ k8a;

    always @ (posedge clk)
        out_1 <= {k0b, k1b, k2b, k3b, k4b, k5b, k6b, k7b};

    assign out_2 = {k4b, k5b, k6b, k7b};



endmodule
module expand_key_type_B_256 (clk, in, out_1, out_2);

    input              clk;
    input      [255:0] in;
    output reg [255:0] out_1;
    output     [127:0] out_2;
    wire       [31:0]  k0, k1, k2, k3, k4, k5, k6, k7,
                       v5, v6, v7;
    reg        [31:0]  k0a, k1a, k2a, k3a, k4a, k5a, k6a, k7a;
    wire       [31:0]  k0b, k1b, k2b, k3b, k4b, k5b, k6b, k7b, k8a;

    reg        [255:0] tmp;

    assign {k0, k1, k2, k3, k4, k5, k6, k7} = in;

    assign v5 = k4 ^ k5;
    assign v6 = v5 ^ k6;
    assign v7 = v6 ^ k7;

    always @ (posedge clk)
    begin
        tmp <= {k0, k1, k2, k3, k4, v5, v6, v7};
        {k0a, k1a, k2a, k3a, k4a, k5a, k6a, k7a} <= tmp;
    end

    S4
        S4_0 (clk, k3, k8a);

    assign {k0b, k1b, k2b, k3b} = {k0a, k1a, k2a, k3a};
    assign k4b = k4a ^ k8a;
    assign k5b = k5a ^ k8a;
    assign k6b = k6a ^ k8a;
    assign k7b = k7a ^ k8a;

    always @ (posedge clk)
        out_1 <= {k0b, k1b, k2b, k3b, k4b, k5b, k6b, k7b};

    assign out_2 = {k4b, k5b, k6b, k7b};



endmodule