data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor/Posit_to_FP_tb.v
Syntax Error
1: b'%Warning-STMTDLY: data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor/Posit_to_FP_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n  #101 in = 65535;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor/Posit_to_FP_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n  #655360\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor/Posit_to_FP_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\nalways #5 clk=~clk;\n       ^\n%Error: data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor/Posit_to_FP_tb.v:24: Cannot find file containing module: \'Posit_to_FP\'\nPosit_to_FP #(.N(N), .E(E), .es(es)) d1 (\n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor,data/full_repos/permissive/112176817/Posit_to_FP\n             data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor,data/full_repos/permissive/112176817/Posit_to_FP.v\n             data/full_repos/permissive/112176817/Posit_to_Floating-Point_Convertor,data/full_repos/permissive/112176817/Posit_to_FP.sv\n             Posit_to_FP\n             Posit_to_FP.v\n             Posit_to_FP.sv\n             obj_dir/Posit_to_FP\n             obj_dir/Posit_to_FP.v\n             obj_dir/Posit_to_FP.sv\n%Error: Exiting due to 1 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [31:0] log2;
input reg [31:0] value;
	begin
	value = value-1;
	for (log2=0; value>0; log2=log2+1)
        	value = value>>1;
      	end
endfunction
function [31:0] log2;

input reg [31:0] value;
	begin
	value = value-1;
	for (log2=0; value>0; log2=log2+1)
        	value = value>>1;
      	end
endfunction