data/full_repos/permissive/493694849/rtl/AES_128_Decipher_Block.v
1: b"%Error: data/full_repos/permissive/493694849/rtl/AES_128_Decipher_Block.v:238: Cannot find file containing module: 'AES_Inv_Sbox'\nAES_Inv_Sbox inv_sbox_inst(.sbox(tmp_sbox), .new_sbox(new_sbox));\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/493694849/rtl,data/full_repos/permissive/493694849/AES_Inv_Sbox\n             data/full_repos/permissive/493694849/rtl,data/full_repos/permissive/493694849/AES_Inv_Sbox.v\n             data/full_repos/permissive/493694849/rtl,data/full_repos/permissive/493694849/AES_Inv_Sbox.sv\n             AES_Inv_Sbox\n             AES_Inv_Sbox.v\n             AES_Inv_Sbox.sv\n             obj_dir/AES_Inv_Sbox\n             obj_dir/AES_Inv_Sbox.v\n             obj_dir/AES_Inv_Sbox.sv\n%Error: Exiting due to 1 error(s)\n"
function [31:0] inv_mixw;
    input [31:0] w;

    reg [7:0] b0, b1, b2, b3;
    reg [7:0] mb0, mb1, mb2, mb3;





    begin
        b0 = w[31:24];
        b1 = w[23:16];
        b2 = w[15:8];
        b3 = w[7:0];

        mb0 = gm14(b0) ^ gm11(b1) ^ gm13(b2) ^ gm09(b3);
        mb1 = gm09(b0) ^ gm14(b1) ^ gm11(b2) ^ gm13(b3);
        mb2 = gm13(b0) ^ gm09(b1) ^ gm14(b2) ^ gm11(b3);
        mb3 = gm11(b0) ^ gm13(b1) ^ gm09(b2) ^ gm14(b3);

        inv_mixw = {mb0, mb1, mb2, mb3};
    end
endfunction
function [31:0] inv_mixw;

    input [31:0] w;

    reg [7:0] b0, b1, b2, b3;
    reg [7:0] mb0, mb1, mb2, mb3;





    begin
        b0 = w[31:24];
        b1 = w[23:16];
        b2 = w[15:8];
        b3 = w[7:0];

        mb0 = gm14(b0) ^ gm11(b1) ^ gm13(b2) ^ gm09(b3);
        mb1 = gm09(b0) ^ gm14(b1) ^ gm11(b2) ^ gm13(b3);
        mb2 = gm13(b0) ^ gm09(b1) ^ gm14(b2) ^ gm11(b3);
        mb3 = gm11(b0) ^ gm13(b1) ^ gm09(b2) ^ gm14(b3);

        inv_mixw = {mb0, mb1, mb2, mb3};
    end
endfunction