data/full_repos/permissive/507312280/rtl/core/bootrom.v
1: b'%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:1: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/507312280/rtl/core,data/full_repos/permissive/507312280/defines.v\n             data/full_repos/permissive/507312280/rtl/core,data/full_repos/permissive/507312280/defines.v.v\n             data/full_repos/permissive/507312280/rtl/core,data/full_repos/permissive/507312280/defines.v.sv\n             defines.v\n             defines.v.v\n             defines.v.sv\n             obj_dir/defines.v\n             obj_dir/defines.v.v\n             obj_dir/defines.v.sv\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:8: Define or directive not defined: \'`InstBus\'\n    input wire [`InstBus]din,\n                ^~~~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:8: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    input wire [`InstBus]din,\n                        ^\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:11: syntax error, unexpected input, expecting IDENTIFIER or do or final\n input wire [clogb2(RAM_DEPTH-1)-1:0]addra,\n ^~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:12: syntax error, unexpected output, expecting IDENTIFIER or do or final\n output reg [`InstBus]douta,\n ^~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:12: Define or directive not defined: \'`InstBus\'\n output reg [`InstBus]douta,\n             ^~~~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:14: syntax error, unexpected input, expecting IDENTIFIER or do or final\n input wire [clogb2(RAM_DEPTH-1)-1:0]addrb,\n ^~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:15: syntax error, unexpected output, expecting IDENTIFIER or do or final\n output reg [`InstBus]doutb\n ^~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:15: Define or directive not defined: \'`InstBus\'\n output reg [`InstBus]doutb\n             ^~~~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:17: Define or directive not defined: \'`InstBus\'\nreg [`InstBus] BRAM [0:RAM_DEPTH-1];\n     ^~~~~~~~\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:17: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nreg [`InstBus] BRAM [0:RAM_DEPTH-1];\n             ^\n%Error: data/full_repos/permissive/507312280/rtl/core/bootrom.v:46: syntax error, unexpected endmodule\nendmodule\n^~~~~~~~~\n%Error: Exiting due to 12 error(s)\n'
function integer clogb2;
    input integer depth;
        for (clogb2=0; depth>0; clogb2=clogb2+1)
            depth = depth >> 1;
endfunction
function integer clogb2;

    input integer depth;
        for (clogb2=0; depth>0; clogb2=clogb2+1)
            depth = depth >> 1;
endfunction