data/full_repos/permissive/20662519/tb_Servo.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/20662519/tb_Servo.v:1: Cannot find include file: Servo_Rom.v\n`include "Servo_Rom.v" \n         ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/20662519,data/full_repos/permissive/20662519/Servo_Rom.v\n             data/full_repos/permissive/20662519,data/full_repos/permissive/20662519/Servo_Rom.v.v\n             data/full_repos/permissive/20662519,data/full_repos/permissive/20662519/Servo_Rom.v.sv\n             Servo_Rom.v\n             Servo_Rom.v.v\n             Servo_Rom.v.sv\n             obj_dir/Servo_Rom.v\n             obj_dir/Servo_Rom.v.v\n             obj_dir/Servo_Rom.v.sv\n%Error: data/full_repos/permissive/20662519/tb_Servo.v:2: Cannot find include file: Servo.v\n`include "Servo.v" \n         ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/20662519/tb_Servo.v:36: Unsupported: Ignoring delay on this delayed statement.\n    #CLK_PERIOD_NS rst = 0;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/20662519/tb_Servo.v:42: Unsupported: Ignoring delay on this delayed statement.\n    #CLK_NS clk = ~clk;    \n    ^\n%Error: Exiting due to 2 error(s), 2 warning(s)\n'
function integer log2;
  input integer value;
  begin
    value = value-1;
    for (log2=0; value>0; log2=log2+1)
      value = value>>1;
  end
endfunction
function integer log2;

  input integer value;
  begin
    value = value-1;
    for (log2=0; value>0; log2=log2+1)
      value = value>>1;
  end
endfunction