data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v
1: b'%Error: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:12: Cannot find include file: baudgen.vh\n`include "baudgen.vh" \n         ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/47573604/uart-tx/examples/txstr,data/full_repos/permissive/47573604/baudgen.vh\n             data/full_repos/permissive/47573604/uart-tx/examples/txstr,data/full_repos/permissive/47573604/baudgen.vh.v\n             data/full_repos/permissive/47573604/uart-tx/examples/txstr,data/full_repos/permissive/47573604/baudgen.vh.sv\n             baudgen.vh\n             baudgen.vh.v\n             baudgen.vh.sv\n             obj_dir/baudgen.vh\n             obj_dir/baudgen.vh.v\n             obj_dir/baudgen.vh.sv\n%Error: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:18: Define or directive not defined: \'`B115200\'\nlocalparam BAUDRATE = `B115200;\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:18: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nlocalparam BAUDRATE = `B115200;\n                              ^\n%Warning-STMTDLY: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n  # 0.5 clk <= ~clk;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:50: Unsupported or unknown PLI call: $dumpfile\n  $dumpfile("txstr_tb.vcd");\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:51: Unsupported or unknown PLI call: $dumpvars\n  $dumpvars(0, txstr_tb);\n  ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:54: Unsupported: Ignoring delay on this delayed statement.\n  #1 rstn <= 0;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:57: Unsupported: Ignoring delay on this delayed statement.\n  #3 rstn <= 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/47573604/uart-tx/examples/txstr/txstr_tb.v:60: Unsupported: Ignoring delay on this delayed statement.\n  #(SERIAL_CAR * 10) $display("END of simulation");\n  ^\n%Error: Exiting due to 5 error(s), 4 warning(s)\n'
module txstr_tb();


localparam BAUDRATE = `B115200;


localparam SERIAL_CAR = (BAUDRATE * 10);


reg clk = 1;


wire tx;


reg rstn = 0;


txstr #(
    .BAUDRATE(BAUDRATE)
)
dut (
    .clk(clk),
    .rstn(rstn),
    .tx(tx)
);


always
  # 0.5 clk <= ~clk;


initial begin


  $dumpfile("txstr_tb.vcd");
  $dumpvars(0, txstr_tb);


  #1 rstn <= 0;


  #3 rstn <= 1;


  #(SERIAL_CAR * 10) $display("END of simulation");
  $finish;
end

endmodule
module txstr_tb();



localparam BAUDRATE = `B115200;


localparam SERIAL_CAR = (BAUDRATE * 10);


reg clk = 1;


wire tx;


reg rstn = 0;


txstr #(
    .BAUDRATE(BAUDRATE)
)
dut (
    .clk(clk),
    .rstn(rstn),
    .tx(tx)
);


always
  # 0.5 clk <= ~clk;


initial begin


  $dumpfile("txstr_tb.vcd");
  $dumpvars(0, txstr_tb);


  #1 rstn <= 0;


  #3 rstn <= 1;


  #(SERIAL_CAR * 10) $display("END of simulation");
  $finish;
end

endmodule