device and dram setup object

This commit is contained in:
Janik Schlemminger
2014-04-09 22:41:51 +02:00
parent d6825125e1
commit 78cc14dcd4
5 changed files with 79 additions and 52 deletions

View File

@@ -5,29 +5,29 @@
* Author: jonny
*/
#include <iostream>
#include <gtest/gtest.h>
#include <tlm.h>
#include <systemc.h>
#include <unistd.h>
#include <gtest/gtest.h>
#include <memory.h>
#include <set>
using namespace std;
using namespace testing;
int runTests(int argc, char **argv)
{
cout << "---- Starting Tests ----" <<endl;
InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
int main(int argc, char **argv) {
return runTests(argc,argv);
}
int sc_main(int argc, char **argv) {
return main(argc,argv);
}
//#include <iostream>
//#include <gtest/gtest.h>
//#include <tlm.h>
//#include <systemc.h>
//#include <unistd.h>
//#include <gtest/gtest.h>
//#include <memory.h>
//#include <set>
//using namespace std;
//using namespace testing;
//
//
//int runTests(int argc, char **argv)
//{
// cout << "---- Starting Tests ----" <<endl;
// InitGoogleTest(&argc, argv);
// return RUN_ALL_TESTS();
//}
//
//int main(int argc, char **argv) {
// return runTests(argc,argv);
//}
//
//int sc_main(int argc, char **argv) {
// return main(argc,argv);
//}