5#include "SpartaSystemCSimulator.hpp"
7#define REPORT_DEFINE_GLOBALS
10int sc_main(
int argc,
char *argv[])
13 REPORT_ENABLE_ALL_REPORTING ();
18 if(!cls.parse(argc, argv, err_code)){
27 cls.populateSimulation(&sim);
28 cls.runSimulator(&sim);
Class for creating a simulator based on command-line arguments.
A simple time-based, event precedence based scheduler.
#define sparta_assert(...)
Simple variadic assertion that will throw a sparta_exception if the condition fails.
A class that lets you schedule events now and in the future.
Command line simulator front-end class with argument parsing Works in conjunction with sparta::app::S...
Optional default values for the simulator which can be customized and provided by anyone instantiatin...
Top level constructor for the SystemC example TLM simulator.