data/full_repos/permissive/167962127/s16_to_u16_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/167962127/s16_to_u16_tb.v:16: Unsupported: Ignoring delay on this delayed statement.\n    #10 r_clk = !r_clk;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/167962127/s16_to_u16_tb.v:20: Unsupported: Ignoring delay on this delayed statement.\n    #20 r_s16 = 32767;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/167962127/s16_to_u16_tb.v:21: Unsupported: Ignoring delay on this delayed statement.\n    #20 r_s16 = -32767;\n    ^\n%Error: data/full_repos/permissive/167962127/s16_to_u16_tb.v:9: Cannot find file containing module: \'s16_to_u16\'\n  s16_to_u16 UUT(\n  ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/167962127,data/full_repos/permissive/167962127/s16_to_u16\n             data/full_repos/permissive/167962127,data/full_repos/permissive/167962127/s16_to_u16.v\n             data/full_repos/permissive/167962127,data/full_repos/permissive/167962127/s16_to_u16.sv\n             s16_to_u16\n             s16_to_u16.v\n             s16_to_u16.sv\n             obj_dir/s16_to_u16\n             obj_dir/s16_to_u16.v\n             obj_dir/s16_to_u16.sv\n%Error: Exiting due to 1 error(s), 3 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module s16_to_u16_tb();

  reg r_clk = 0;
  reg signed [15:0] r_s16 = -32767;
  wire [15:0] w_u16;

  s16_to_u16 UUT(
    .i_clk(r_clk),
    .i_s16(r_s16),
    .o_u16(w_u16)
  );

  always begin
    #10 r_clk = !r_clk;
  end

  always begin
    #20 r_s16 = 32767;
    #20 r_s16 = -32767;
  end
endmodule
module s16_to_u16_tb();


  reg r_clk = 0;
  reg signed [15:0] r_s16 = -32767;
  wire [15:0] w_u16;

  s16_to_u16 UUT(
    .i_clk(r_clk),
    .i_s16(r_s16),
    .o_u16(w_u16)
  );

  always begin
    #10 r_clk = !r_clk;
  end

  always begin
    #20 r_s16 = 32767;
    #20 r_s16 = -32767;
  end
endmodule