data/full_repos/permissive/154123726/3rdParty/echo/BIG_SUBWORDS.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-MULTITOP: data/full_repos/permissive/154123726/3rdParty/echo/BIG_SUBWORDS.v:61: 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 \'AES_MIXCOLUMNS\'\nmodule AES_MIXCOLUMNS(x, y);\n       ^~~~~~~~~~~~~~\n                                                                                       : ... Top module \'AES_SUBBYTES\'\nmodule AES_SUBBYTES (x, y);\n       ^~~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module AES_Comp_SboxComp(x, y);
input  [7:0] x;
output [7:0] y;

wire [7:0] a, b;

assign a = {x[5] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[4] ^ x[6] ^ x[7],
            x[2] ^ x[3] ^ x[5] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[5] ^ x[7],
            x[1] ^ x[2] ^ x[6] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[4] ^ x[7],
            x[1] ^ x[4] ^ x[6],
            x[0] ^ x[1] ^ x[6]};

AES_Comp_GFinvComp AES_Comp_GFinvComp(.x(a), .y(b));

assign y = { b[2] ^ b[3] ^ b[7],
            ~b[4] ^ b[5] ^ b[6] ^ b[7],
            ~b[2] ^ b[7],
             b[0] ^ b[1] ^ b[4] ^ b[7],
             b[0] ^ b[1] ^ b[2],
             b[0] ^ b[2] ^ b[3] ^ b[4] ^ b[5] ^ b[6],
            ~b[0] ^ b[7],
            ~b[0] ^ b[1] ^ b[2] ^ b[6] ^ b[7]};
endmodule
module AES_Comp_SboxComp(x, y);

input  [7:0] x;
output [7:0] y;

wire [7:0] a, b;

assign a = {x[5] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[4] ^ x[6] ^ x[7],
            x[2] ^ x[3] ^ x[5] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[5] ^ x[7],
            x[1] ^ x[2] ^ x[6] ^ x[7],
            x[1] ^ x[2] ^ x[3] ^ x[4] ^ x[7],
            x[1] ^ x[4] ^ x[6],
            x[0] ^ x[1] ^ x[6]};

AES_Comp_GFinvComp AES_Comp_GFinvComp(.x(a), .y(b));

assign y = { b[2] ^ b[3] ^ b[7],
            ~b[4] ^ b[5] ^ b[6] ^ b[7],
            ~b[2] ^ b[7],
             b[0] ^ b[1] ^ b[4] ^ b[7],
             b[0] ^ b[1] ^ b[2],
             b[0] ^ b[2] ^ b[3] ^ b[4] ^ b[5] ^ b[6],
            ~b[0] ^ b[7],
            ~b[0] ^ b[1] ^ b[2] ^ b[6] ^ b[7]};
endmodule