data/full_repos/permissive/461069000/pwm/src/pwm_tb.v
1: b'%Error: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:2: Cannot find include file: pwm.v\n`include "pwm.v" \n         ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/pwm.v\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/pwm.v.v\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/pwm.v.sv\n             pwm.v\n             pwm.v.v\n             pwm.v.sv\n             obj_dir/pwm.v\n             obj_dir/pwm.v.v\n             obj_dir/pwm.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:16: Unsupported: Ignoring delay on this delayed statement.\n  always #1 clk = ~clk;  \n         ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:22: Unsupported or unknown PLI call: $dumpfile\n    $dumpfile("pwm_test.vcd");\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:23: Unsupported or unknown PLI call: $dumpvars\n    $dumpvars(0, pwm_1);\n    ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:24: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:26: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:28: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:32: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/461069000/pwm/src/pwm_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n    #512\n    ^\n%Error: Exiting due to 3 error(s), 8 warning(s)\n'
module pwm_tb;
  reg clk = 0;
  reg enable = 1;
  reg [7:0] in = 8'd0;
  wire out;

  pwm pwm_1 (
    .clk(clk),
    .enable(enable),
    .in(in),
    .out(out)
  );
  always #1 clk = ~clk;  


  initial begin
    clk <= 0;
    in <= 0;
    $dumpfile("pwm_test.vcd");
    $dumpvars(0, pwm_1);
    #512
    in <= 8'd63;
    #512
    in <= 0;
    #512
    in <= 8'd127;
    #512
    in <= 0;
    #512
    in <= 8'd255;
    #512
    in <= 0;
    #512
    $finish;
  end

endmodule
module pwm_tb;

  reg clk = 0;
  reg enable = 1;
  reg [7:0] in = 8'd0;
  wire out;

  pwm pwm_1 (
    .clk(clk),
    .enable(enable),
    .in(in),
    .out(out)
  );
  always #1 clk = ~clk;  


  initial begin
    clk <= 0;
    in <= 0;
    $dumpfile("pwm_test.vcd");
    $dumpvars(0, pwm_1);
    #512
    in <= 8'd63;
    #512
    in <= 0;
    #512
    in <= 8'd127;
    #512
    in <= 0;
    #512
    in <= 8'd255;
    #512
    in <= 0;
    #512
    $finish;
  end

endmodule