data/full_repos/permissive/108216748/system/sha256.v
 line:18: before: ","
1: b'%Warning-MULTITOP: data/full_repos/permissive/108216748/system/sha256.v:205: Multiple top level modules\n                                                                           : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                           : ... Top module \'sha256_block\'\nmodule sha256_block (\n       ^~~~~~~~~~~~\n                                                                           : ... Top module \'sha256_H_0\'\nmodule sha256_H_0(\n       ^~~~~~~~~~\n%Error: data/full_repos/permissive/108216748/system/sha256.v:90: Cannot find file containing module: \'Ch\'\nCh #(.WORDSIZE(32)) Ch (\n^~\n        ... Looked in:\n             data/full_repos/permissive/108216748/system,data/full_repos/permissive/108216748/Ch\n             data/full_repos/permissive/108216748/system,data/full_repos/permissive/108216748/Ch.v\n             data/full_repos/permissive/108216748/system,data/full_repos/permissive/108216748/Ch.sv\n             Ch\n             Ch.v\n             Ch.sv\n             obj_dir/Ch\n             obj_dir/Ch.v\n             obj_dir/Ch.sv\n%Error: data/full_repos/permissive/108216748/system/sha256.v:94: Cannot find file containing module: \'Maj\'\nMaj #(.WORDSIZE(32)) Maj (\n^~~\n%Error: data/full_repos/permissive/108216748/system/sha256.v:106: Cannot find file containing module: \'sha2_round\'\nsha2_round #(.WORDSIZE(32)) sha256_round_inner (\n^~~~~~~~~~\n%Error: data/full_repos/permissive/108216748/system/sha256.v:65: Cannot find file containing module: \'W_machine\'\nW_machine #(.WORDSIZE(32)) W_machine (\n^~~~~~~~~\n%Error: Exiting due to 4 error(s), 1 warning(s)\n'
module sha256_round (
    input [31:0] Kj, Wj,
    input [31:0] a_in, b_in, c_in, d_in, e_in, f_in, g_in, h_in,
    output [31:0] a_out, b_out, c_out, d_out, e_out, f_out, g_out, h_out
    );

wire [31:0] Ch_e_f_g, Maj_a_b_c, S0_a, S1_e;

Ch #(.WORDSIZE(32)) Ch (
    .x(e_in), .y(f_in), .z(g_in), .Ch(Ch_e_f_g)
);

Maj #(.WORDSIZE(32)) Maj (
    .x(a_in), .y(b_in), .z(c_in), .Maj(Maj_a_b_c)
);

sha256_S0 S0 (
    .x(a_in), .S0(S0_a)
);

sha256_S1 S1 (
    .x(e_in), .S1(S1_e)
);

sha2_round #(.WORDSIZE(32)) sha256_round_inner (
    .Kj(Kj), .Wj(Wj),
    .a_in(a_in), .b_in(b_in), .c_in(c_in), .d_in(d_in),
    .e_in(e_in), .f_in(f_in), .g_in(g_in), .h_in(h_in),
    .Ch_e_f_g(Ch_e_f_g), .Maj_a_b_c(Maj_a_b_c), .S0_a(S0_a), .S1_e(S1_e),
    .a_out(a_out), .b_out(b_out), .c_out(c_out), .d_out(d_out),
    .e_out(e_out), .f_out(f_out), .g_out(g_out), .h_out(h_out)
);

endmodule
module sha256_round (
    input [31:0] Kj, Wj,
    input [31:0] a_in, b_in, c_in, d_in, e_in, f_in, g_in, h_in,
    output [31:0] a_out, b_out, c_out, d_out, e_out, f_out, g_out, h_out
    );


wire [31:0] Ch_e_f_g, Maj_a_b_c, S0_a, S1_e;

Ch #(.WORDSIZE(32)) Ch (
    .x(e_in), .y(f_in), .z(g_in), .Ch(Ch_e_f_g)
);

Maj #(.WORDSIZE(32)) Maj (
    .x(a_in), .y(b_in), .z(c_in), .Maj(Maj_a_b_c)
);

sha256_S0 S0 (
    .x(a_in), .S0(S0_a)
);

sha256_S1 S1 (
    .x(e_in), .S1(S1_e)
);

sha2_round #(.WORDSIZE(32)) sha256_round_inner (
    .Kj(Kj), .Wj(Wj),
    .a_in(a_in), .b_in(b_in), .c_in(c_in), .d_in(d_in),
    .e_in(e_in), .f_in(f_in), .g_in(g_in), .h_in(h_in),
    .Ch_e_f_g(Ch_e_f_g), .Maj_a_b_c(Maj_a_b_c), .S0_a(S0_a), .S1_e(S1_e),
    .a_out(a_out), .b_out(b_out), .c_out(c_out), .d_out(d_out),
    .e_out(e_out), .f_out(f_out), .g_out(g_out), .h_out(h_out)
);

endmodule