data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/general/sim_math.vh
 line:23: before: "function"
1: b"%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/sim/general/sim_math.vh:122: Can't find definition of task/function: 'fabs'\n    x1 = fabs(x)*1.44269504;\n         ^~~~\n%Error: Exiting due to 1 error(s)\n"
function real cos;
  input x;
  real x;
  begin
    cos = sin(x + 3.14159265/2.0);
  end
endfunction
function real cos;

  input x;
  real x;
  begin
    cos = sin(x + 3.14159265/2.0);
  end
endfunction