data/full_repos/permissive/118928497/mode0_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:25: Unsupported: Ignoring delay on this delayed statement.\n    #50reset <= 0;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n    #10in_a <= 8\'d1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n    #10in_a <= 8\'d25;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:38: Unsupported: Ignoring delay on this delayed statement.\n    #10enable <= 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n    #10enable <= 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/118928497/mode0_tb.v:51: Unsupported: Ignoring delay on this delayed statement.\n    #5clk <= ~clk;\n    ^\n%Error: data/full_repos/permissive/118928497/mode0_tb.v:10: Cannot find file containing module: \'Quadratic_Equation\'\nQuadratic_Equation Quadratic_Equation(\n^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation.v\n             data/full_repos/permissive/118928497,data/full_repos/permissive/118928497/Quadratic_Equation.sv\n             Quadratic_Equation\n             Quadratic_Equation.v\n             Quadratic_Equation.sv\n             obj_dir/Quadratic_Equation\n             obj_dir/Quadratic_Equation.v\n             obj_dir/Quadratic_Equation.sv\n%Error: Exiting due to 1 error(s), 6 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module mode0_tb ();

reg clk, reset, enable;
reg [7:0]in_a;
reg [7:0]in_x;
reg [7:0]in_b;
reg [7:0]in_c;
wire [15:0]result;

Quadratic_Equation Quadratic_Equation(
    .clk    (clk),
    .reset  (reset),
    .enable (enable),
    .in_a   (in_a),
    .in_x   (in_x),
    .in_b   (in_b),
    .in_c   (in_c),
    .result (result)
);

initial begin
    clk <= 1;
    reset <= 1;
    enable <= 1;
    #50reset <= 0;
    in_a <= 8'd5;
    in_x <= 8'd8;
    in_b <= 8'd13;
    in_c <= 8'd7;
    #10in_a <= 8'd1;
    in_x <= 8'd0;
    in_b <= 8'd2;
    in_c <= 8'd3;
    #10in_a <= 8'd25;
    in_x <= 8'd4;
    in_b <= 8'd18;
    in_c <= 8'd10;
    #10enable <= 0;
    in_a <= 8'd10;
    in_x <= 8'd4;
    in_b <= 8'd5;
    in_c <= 8'd10;
    #10enable <= 1;
    in_a <= 8'd25;
    in_x <= 8'd4;
    in_b <= 8'd18;
    in_c <= 8'd10;
end

always begin
    #5clk <= ~clk;
end

endmodule
module mode0_tb ();


reg clk, reset, enable;
reg [7:0]in_a;
reg [7:0]in_x;
reg [7:0]in_b;
reg [7:0]in_c;
wire [15:0]result;

Quadratic_Equation Quadratic_Equation(
    .clk    (clk),
    .reset  (reset),
    .enable (enable),
    .in_a   (in_a),
    .in_x   (in_x),
    .in_b   (in_b),
    .in_c   (in_c),
    .result (result)
);

initial begin
    clk <= 1;
    reset <= 1;
    enable <= 1;
    #50reset <= 0;
    in_a <= 8'd5;
    in_x <= 8'd8;
    in_b <= 8'd13;
    in_c <= 8'd7;
    #10in_a <= 8'd1;
    in_x <= 8'd0;
    in_b <= 8'd2;
    in_c <= 8'd3;
    #10in_a <= 8'd25;
    in_x <= 8'd4;
    in_b <= 8'd18;
    in_c <= 8'd10;
    #10enable <= 0;
    in_a <= 8'd10;
    in_x <= 8'd4;
    in_b <= 8'd5;
    in_c <= 8'd10;
    #10enable <= 1;
    in_a <= 8'd25;
    in_x <= 8'd4;
    in_b <= 8'd18;
    in_c <= 8'd10;
end

always begin
    #5clk <= ~clk;
end

endmodule