48 std::ostream& infoStream,
49 std::ostream& errorStream,
50 VhdlSim simulator,
bool verbose,
bool leaveDirty):
51 infoStream_(&infoStream), errorStream_(&errorStream), sim_(simulator),
52 verbose_(verbose), leaveDirty_(leaveDirty) {
65 if (implTester == NULL) {
69 bool noFailures =
true;
71 for (set<int>::iterator iter = fus.begin(); iter != fus.end(); iter++) {
72 if (!
testFU(*iter, implTester)) {
74 std::cerr <<
"FU Entry " << *iter <<
" from " << hdbFile
75 <<
" failed." << std::endl;
80 for (set<int>::iterator iter = rfs.begin(); iter != rfs.end(); iter++) {
81 if (!
testRF(*iter, implTester)) {
83 std::cerr <<
"RF Entry " << *iter <<
" from " << hdbFile
84 <<
" failed." << std::endl;
95 if (implTester == NULL) {
98 bool success =
testRF(entryId, implTester);
102 std::cerr <<
"RF Entry " << entryId <<
" from " << hdbFile
103 <<
" failed." << std::endl;
113 if (implTester == NULL) {
116 bool success =
testFU(entryId, implTester);
120 std::cerr <<
"FU Entry " << entryId <<
" from " << hdbFile
121 <<
" failed." << std::endl;
136 *
errorStream_ <<
"Failed to create implementation tester: "
150 *
infoStream_ <<
"Cannot test FU id " <<
id <<
" because: "
151 << reason << std::endl;
156 vector<string> errors;
157 bool success =
false;
167 if (!errors.empty()) {
169 for (
unsigned int i = 0; i < errors.size(); i++) {
184 *
infoStream_ <<
"Cannot test RF id " <<
id <<
" because: "
185 << reason << std::endl;
190 vector<string> errors;
191 bool success =
false;
201 if (!errors.empty()) {
203 for (
unsigned int i = 0; i < errors.size(); i++) {