data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v
 line:19: before: "$"
1: b'%Error: data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v:15: Unsupported or unknown PLI call: $dumpfile\n  $dumpfile("tb_gen_addr.vcd");\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v:16: Unsupported or unknown PLI call: $dumpvars\n  $dumpvars(0, tb_gen_addr);\n  ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v:18: Unsupported: Ignoring delay on this delayed statement.\n #1000000\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v:24: Unsupported: Ignoring delay on this delayed statement.\n always #2.5 clk = ~clk;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/2084115/projects/zybo_video_transformation/sim/tb_gen_addr.v:27: Unsupported: Ignoring delay on this delayed statement.\n initial #100 reset = 1\'b0;\n         ^\n%Error: Exiting due to 2 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [FLOAT_WIDTH-1:0] real2float(input real r);
	reg		[63:0]	b;
	begin
		b                                    = $realtobits(r);
		real2float[FLOAT_WIDTH-1]            = b[63];
		real2float[FRAC_WIDTH +: EXP_WIDTH]  = (b[62:52] - 1023) + EXP_OFFSET;
		real2float[0          +: FRAC_WIDTH] = b[51 -: FRAC_WIDTH];
	end
	endfunction
function [FLOAT_WIDTH-1:0] real2float(input real r);

	reg		[63:0]	b;
	begin
		b                                    = $realtobits(r);
		real2float[FLOAT_WIDTH-1]            = b[63];
		real2float[FRAC_WIDTH +: EXP_WIDTH]  = (b[62:52] - 1023) + EXP_OFFSET;
		real2float[0          +: FRAC_WIDTH] = b[51 -: FRAC_WIDTH];
	end
	endfunction