data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v
1: b'%Error: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:23: Unsupported or unknown PLI call: $dumpfile\n $dumpfile ("pwm.vcd");  \n ^~~~~~~~~\n%Error: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:24: Unsupported or unknown PLI call: $dumpvars\n $dumpvars(0, iiitb_pwm_gen_tb);\n ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n forever #5 clk = ~clk;\n         ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n#5;reset=1;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n#5;reset =0;\n^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:46: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:48: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:50: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:52: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:54: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:56: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:58: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:60: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:62: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:64: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:66: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:68: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:70: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:72: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:74: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:76: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:78: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:80: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:82: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:84: Unsupported: Ignoring delay on this delayed statement.\n    #100;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:86: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:88: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:90: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:92: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:94: Unsupported: Ignoring delay on this delayed statement.\n  #100; \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/518305614/iiitb_pwm_gen_tb.v:97: Unsupported: Ignoring delay on this delayed statement.\n initial #3000 $finish;\n         ^\n%Error: Exiting due to 2 error(s), 32 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module iiitb_pwm_gen_tb;  

 reg clk;
 reg increase_duty;
 reg decrease_duty;
 reg reset;

 wire PWM_OUT;

 iiitb_pwm_gen PWM_Generator_Unit(
  .clk(clk), 
  .increase_duty(increase_duty), 
  .decrease_duty(decrease_duty), 
  .reset(reset),
  .PWM_OUT(PWM_OUT)
 );

 initial 
    begin

	
	$dumpfile ("pwm.vcd");
	$dumpvars(0, iiitb_pwm_gen_tb);
    end
 initial begin
 clk = 0;
 reset=0;
 

 forever #5 clk = ~clk;
 end 
initial begin
#5;reset=1;
#5;reset =0;
end
 initial begin
  increase_duty = 0;
  decrease_duty = 0;
  #100; 
    increase_duty = 1; 
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1; 
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
    #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
 end
 initial #3000 $finish;
endmodule
module iiitb_pwm_gen_tb;
  

 reg clk;
 reg increase_duty;
 reg decrease_duty;
 reg reset;

 wire PWM_OUT;

 iiitb_pwm_gen PWM_Generator_Unit(
  .clk(clk), 
  .increase_duty(increase_duty), 
  .decrease_duty(decrease_duty), 
  .reset(reset),
  .PWM_OUT(PWM_OUT)
 );

 initial 
    begin

	
	$dumpfile ("pwm.vcd");
	$dumpvars(0, iiitb_pwm_gen_tb);
    end
 initial begin
 clk = 0;
 reset=0;
 

 forever #5 clk = ~clk;
 end 
initial begin
#5;reset=1;
#5;reset =0;
end
 initial begin
  increase_duty = 0;
  decrease_duty = 0;
  #100; 
    increase_duty = 1; 
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1; 
  #100;
    increase_duty = 0;
  #100; 
    increase_duty = 1;
  #100;
    increase_duty = 0;
  #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
    #100;
    decrease_duty = 1; 
  #100;
    decrease_duty = 0;
  #100; 
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
  #100;
    decrease_duty = 1;
  #100;
    decrease_duty = 0;
 end
 initial #3000 $finish;
endmodule