data/full_repos/permissive/212897440/debounce_switch_tb.v
1: b'%Error: data/full_repos/permissive/212897440/debounce_switch_tb.v:12: Cannot find include file: debounce_switch.v\n`include "debounce_switch.v" \n         ^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/debounce_switch.v\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/debounce_switch.v.v\n             data/full_repos/permissive/212897440,data/full_repos/permissive/212897440/debounce_switch.v.sv\n             debounce_switch.v\n             debounce_switch.v.v\n             debounce_switch.v.sv\n             obj_dir/debounce_switch.v\n             obj_dir/debounce_switch.v.v\n             obj_dir/debounce_switch.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/212897440/debounce_switch_tb.v:21: Unsupported: Ignoring delay on this delayed statement.\nalways #0.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/212897440/debounce_switch_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n    #20 btnC <= 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/212897440/debounce_switch_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n    #40 btnC <= 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/212897440/debounce_switch_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n    #40 btnC <= 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/212897440/debounce_switch_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n    #1_000_100 btnC <= 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/212897440/debounce_switch_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n    #3_000_000; \n    ^\n%Error: data/full_repos/permissive/212897440/debounce_switch_tb.v:54: Unsupported or unknown PLI call: $dumpfile\n    $dumpfile("wave.vcd");\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/212897440/debounce_switch_tb.v:55: Unsupported or unknown PLI call: $dumpvars\n    $dumpvars(0);\n    ^~~~~~~~~\n%Error: Exiting due to 3 error(s), 6 warning(s)\n'
module debounce_switch_tb();

reg clk = 1'b0;
reg btnC = 0;
wire reset;


always #0.5 clk <= ~clk;

debounce_switch UUT(
    .clk(clk),
    .i_switch(btnC),
    .o_switch(reset)
);

initial begin
    #20 btnC <= 1;
    #40 btnC <= 0;
    
    #40 btnC <= 1;
    #1_000_100 btnC <= 0;
end


initial begin
    #3_000_000; 
    $display("*");

    $display(" ");
    $display("Use this command to open timing diagram:");
    $display("gtkwave -f wave.vcd");
    $display("----------------------------------------------");
    $finish();
end

initial 
  begin 
    $display(" ");
    $display("----------------------------------------------");
    $display("          Starting Testbench...");
    $dumpfile("wave.vcd");
    $dumpvars(0);
end

endmodule
module debounce_switch_tb();


reg clk = 1'b0;
reg btnC = 0;
wire reset;


always #0.5 clk <= ~clk;

debounce_switch UUT(
    .clk(clk),
    .i_switch(btnC),
    .o_switch(reset)
);

initial begin
    #20 btnC <= 1;
    #40 btnC <= 0;
    
    #40 btnC <= 1;
    #1_000_100 btnC <= 0;
end


initial begin
    #3_000_000; 
    $display("*");

    $display(" ");
    $display("Use this command to open timing diagram:");
    $display("gtkwave -f wave.vcd");
    $display("----------------------------------------------");
    $finish();
end

initial 
  begin 
    $display(" ");
    $display("----------------------------------------------");
    $display("          Starting Testbench...");
    $dumpfile("wave.vcd");
    $dumpvars(0);
end

endmodule