cerr goes to simerr, but we compare simout against the golden output.
Change-Id: I9270866a92dd06a23d47c1964dacc4872030f30d
Reviewed-on: https://gem5-review.googlesource.com/c/12470
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
cout << "e = " << e << endl;
cout << "f = " << f << endl;
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
TEST("0bus1111111011011100101110101001100001110110010101000011001000010000",
0xfedcba9876543210ll);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
TEST(sc_uint<8>)
TEST(sc_lv<8>)
TEST(sc_bv<8>)
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
x.clk(clock);
sc_start(1000, SC_NS);
- cerr << "Program completed\n";
+ cout << "Program completed\n";
return 0;
}
COMPARE( 97, sig_sc_int_b )
COMPARE( 72, sig_sc_uint_b )
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1000, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1000, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1000, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1000, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1000, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(10, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(10, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
if ( !sc_end_of_simulation_invoked() )
cout << __FILE__ << "(" << __LINE__ << "): bad end flag should be true" << endl;
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
if ( !sc_end_of_simulation_invoked() )
cout << __FILE__ << "(" << __LINE__ << "): bad end flag should be true" << endl;
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
}
}
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_assert(strcmp(sc_argv()[2], "2") == 0);
sc_assert(strcmp(sc_argv()[1], "1") == 0);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
sc_start(1, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return 0;
}
tb.m_clk(clock);
sc_start(2, SC_NS);
- cerr << "Program completed" << endl;
+ cout << "Program completed" << endl;
return (0);
}
sc_start();
cout << sc_time_stamp() << ": Issuing sc_start(10, SC_NS)" << endl;
sc_start(10, SC_NS);
- cerr << sc_time_stamp() << ": Program completed" << endl;
+ cout << sc_time_stamp() << ": Program completed" << endl;
return 0;
}