data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src/erase_keys.v
1: b"%Error: data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src/erase_keys.v:192: Cannot find file containing module: 'erase_ram'\n    erase_ram #(\n    ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src,data/full_repos/permissive/13196823/erase_ram\n             data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src,data/full_repos/permissive/13196823/erase_ram.v\n             data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src,data/full_repos/permissive/13196823/erase_ram.sv\n             erase_ram\n             erase_ram.v\n             erase_ram.sv\n             obj_dir/erase_ram\n             obj_dir/erase_ram.v\n             obj_dir/erase_ram.sv\n%Error: data/full_repos/permissive/13196823/fpga/DE4_Ethernet_0/src/erase_keys.v:205: Cannot find file containing module: 'decoder'\n    decoder #(\n    ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
function integer log2;
input [31:0] bits;
integer k;
begin
    log2 = 1;
    for (k=0; 2**k < bits; k=k+1)
        log2 = k + 1;
end
endfunction
function integer log2;

input [31:0] bits;
integer k;
begin
    log2 = 1;
    for (k=0; 2**k < bits; k=k+1)
        log2 = k + 1;
end
endfunction