data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v
 line:94: before: ","
1: b'%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:7: Cannot find include file: mult_2_2_4.v\n`include "mult_2_2_4.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/20270692/labs/lab5,data/full_repos/permissive/20270692/mult_2_2_4.v\n             data/full_repos/permissive/20270692/labs/lab5,data/full_repos/permissive/20270692/mult_2_2_4.v.v\n             data/full_repos/permissive/20270692/labs/lab5,data/full_repos/permissive/20270692/mult_2_2_4.v.sv\n             mult_2_2_4.v\n             mult_2_2_4.v.v\n             mult_2_2_4.v.sv\n             obj_dir/mult_2_2_4.v\n             obj_dir/mult_2_2_4.v.v\n             obj_dir/mult_2_2_4.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:32: Unsupported: Ignoring delay on this delayed statement.\n    forever #5 t_clock=~t_clock;\n            ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:54: Unsupported: $fopen with multichannel descriptor.  Add ,"w" as second argument to open a file descriptor.\n    fp=$fopen("mult_2_2_4.out");\n       ^~~~~~\n%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:55: Unsupported or unknown PLI call: $fmonitor\n    $fmonitor(fp, "time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:55: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n    $fmonitor(fp, "time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);\n                                    ^\n%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:57: Unsupported or unknown PLI call: $monitor\n    $monitor("time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:57: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n    $monitor("time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);\n                               ^\n%Warning-STMTDLY: data/full_repos/permissive/20270692/labs/lab5/mult_2_2_4_tb.v:61: Unsupported: Ignoring delay on this delayed statement.\n    #1000\n    ^\n%Error: Exiting due to 6 error(s), 2 warning(s)\n'
module four_bit_multiplier_tb (A0, A1, B0, B1);

  output A0, A1, B0, B1;
  reg A0, A1, B0, B1;

  wire C0, C1, C2, C3;

  reg t_A0 [5000:0];
  reg t_A1 [5000:0];
  reg t_B0 [5000:0];
  reg t_B1 [5000:0];

  reg t_clock;
  reg [31:0] vectornum;

  integer fp;

  mult_2_2_4 I1 (A0, A1, B0, B1, C0, C1, C2, C3);

  initial begin
    t_clock=0;
    forever #5 t_clock=~t_clock;
  end

  initial begin
    $readmemb("./bit_str_a_0.txt",t_A0);
    $readmemb("./bit_str_a_1.txt",t_A1);
    $readmemb("./bit_str_b_0.txt",t_B0);
    $readmemb("./bit_str_b_1.txt",t_B1);
    vectornum=0;
  end

  always @(posedge t_clock)
  begin
    A0<=t_A0[vectornum];
    A1<=t_A1[vectornum];
    B0<=t_B0[vectornum];
    B1<=t_B1[vectornum];
    vectornum<=vectornum+1;
  end

  initial
  begin
    fp=$fopen("mult_2_2_4.out");
    $fmonitor(fp, "time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);

    $monitor("time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);



    #1000
    $fclose(fp);
    $finish;
  end

endmodule
module four_bit_multiplier_tb (A0, A1, B0, B1);


  output A0, A1, B0, B1;
  reg A0, A1, B0, B1;

  wire C0, C1, C2, C3;

  reg t_A0 [5000:0];
  reg t_A1 [5000:0];
  reg t_B0 [5000:0];
  reg t_B1 [5000:0];

  reg t_clock;
  reg [31:0] vectornum;

  integer fp;

  mult_2_2_4 I1 (A0, A1, B0, B1, C0, C1, C2, C3);

  initial begin
    t_clock=0;
    forever #5 t_clock=~t_clock;
  end

  initial begin
    $readmemb("./bit_str_a_0.txt",t_A0);
    $readmemb("./bit_str_a_1.txt",t_A1);
    $readmemb("./bit_str_b_0.txt",t_B0);
    $readmemb("./bit_str_b_1.txt",t_B1);
    vectornum=0;
  end

  always @(posedge t_clock)
  begin
    A0<=t_A0[vectornum];
    A1<=t_A1[vectornum];
    B0<=t_B0[vectornum];
    B1<=t_B1[vectornum];
    vectornum<=vectornum+1;
  end

  initial
  begin
    fp=$fopen("mult_2_2_4.out");
    $fmonitor(fp, "time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);

    $monitor("time=%0d", $time,, "A=%b%b B=%b%b | C=%b%b%b%b", A1, A0, B1, B0, C3, C2, C1, C0);



    #1000
    $fclose(fp);
    $finish;
  end

endmodule