Logo
This commit is contained in:
@@ -56,6 +56,23 @@ int main(int argc, char **argv)
|
||||
return sc_main(argc, argv);
|
||||
}
|
||||
|
||||
|
||||
void logo()
|
||||
{
|
||||
#define REDTXT(s) string(("\033[0;31m"+string((s))+"\033[0m"))
|
||||
#define BOLDBLUETXT(s) string(("\033[1;34m"+string((s))+"\033[0m"))
|
||||
cout << endl;
|
||||
cout << REDTXT(" |||") << endl;
|
||||
cout << REDTXT(" +---+ Microelectronic Systems") << endl;
|
||||
cout << REDTXT("=| |= Design Research Group") << endl;
|
||||
cout << REDTXT("=| |= ") << BOLDBLUETXT("University of Kaiserslautern") << endl;
|
||||
cout << REDTXT(" +---+ ") << endl;
|
||||
cout << REDTXT(" ||| ") << "DRAMSys - Approximately-Timed TLM Models for DDR and Wide I/0 DRAM -" << endl;
|
||||
cout << endl;
|
||||
#undef REDTXT
|
||||
#undef BOLDBLUETXT
|
||||
}
|
||||
|
||||
int sc_main(int argc, char **argv)
|
||||
{
|
||||
sc_set_time_resolution(1, SC_PS);
|
||||
@@ -70,6 +87,9 @@ int sc_main(int argc, char **argv)
|
||||
cout << "Simulation file is " << simulationToRun << endl;
|
||||
|
||||
SimulationManager manager(resources);
|
||||
|
||||
logo();
|
||||
cout << "Simulation file: \"" << simulationToRun << "\"";
|
||||
manager.loadSimulationsFromXML(simulationToRun);
|
||||
manager.runSimulations();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user