data/full_repos/permissive/42427860/src/sha256/tb_sha256.v
1: b'%Error: data/full_repos/permissive/42427860/src/sha256/tb_sha256.v:17: syntax error, unexpected \'(\', expecting IDENTIFIER\n    .activate_0r(activate_0r), .activate_0a(activate_0a),\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/42427860/src/sha256/tb_sha256.v:60: Unsupported: Ignoring delay on this delayed statement.\n    #DELAY initialise = 0;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/42427860/src/sha256/tb_sha256.v:61: Unsupported: Ignoring delay on this delayed statement.\n    #DELAY activate_0r = 1;\n    ^\n%Error: Exiting due to 1 error(s), 2 warning(s)\n'
module tb_booth_sha256;
  parameter DELAY = 1;
  parameter NUM_DATA = 6;

  integer counter;
  integer pointer;

  reg activate_0r; wire activate_0a;
  wire data_0r; reg data_0a; reg [7:0] data_0d;
  wire digest_0r; reg digest_0a; wire [255:0] digest_0d;
  reg out_0r; wire out_0a;
  reg initialise;

  Balsa_sha256 (
    .activate_0r(activate_0r), .activate_0a(activate_0a),
    .data_0r(data_0r), .data_0a(data_0a), .data_0d(data_0d),
    .digest_0r(digest_0r), .digest_0a(digest_0a), .digest_0d(digest_0d),
    .out_0r(out_0r), .out_0a(out_0a),
    .initialise(initialise)
  );

  always@(posedge digest_0r) begin
    $display("sha256 : %d", digest_0d);
  end


























  initial begin
    counter = 0;
    activate_0r = 0;
    data_0a = 0;
    digest_0a = 0;
    out_0r = 0;
    initialise = 1;
    #DELAY initialise = 0;
    #DELAY activate_0r = 1;
  end
endmodule
module tb_booth_sha256;

  parameter DELAY = 1;
  parameter NUM_DATA = 6;

  integer counter;
  integer pointer;

  reg activate_0r; wire activate_0a;
  wire data_0r; reg data_0a; reg [7:0] data_0d;
  wire digest_0r; reg digest_0a; wire [255:0] digest_0d;
  reg out_0r; wire out_0a;
  reg initialise;

  Balsa_sha256 (
    .activate_0r(activate_0r), .activate_0a(activate_0a),
    .data_0r(data_0r), .data_0a(data_0a), .data_0d(data_0d),
    .digest_0r(digest_0r), .digest_0a(digest_0a), .digest_0d(digest_0d),
    .out_0r(out_0r), .out_0a(out_0a),
    .initialise(initialise)
  );

  always@(posedge digest_0r) begin
    $display("sha256 : %d", digest_0d);
  end


























  initial begin
    counter = 0;
    activate_0r = 0;
    data_0a = 0;
    digest_0a = 0;
    out_0r = 0;
    initialise = 1;
    #DELAY initialise = 0;
    #DELAY activate_0r = 1;
  end
endmodule