26 #ifndef ORCASIM_MODELING_INCLUDE_SIMULATOR_HPP_ 27 #define ORCASIM_MODELING_INCLUDE_SIMULATOR_HPP_ 57 std::chrono::high_resolution_clock::time_point t1,
t2;
73 void virtual Startup() = 0;
74 void virtual Schedule() = 0;
75 void virtual Simulate();
76 void virtual Report() = 0;
82 void SetExitStatus(
int status);
84 std::string GetParam(
int index);
88 #endif // ORCASIM_MODELING_INCLUDE_SIMULATOR_HPP_ The Signal class models a generic bus of width equals to the sizeof(T)
SimulatorInterruptionStatus
This class models a TimedModel.
static void sig_handler(int _)
std::chrono::high_resolution_clock::time_point t2
This class implements an event queue to schedule and execute hardware modules.
Untimed models represent hardware models whose clock period is irrelevant for the simulation...
std::vector< std::string > _params
static volatile SimulatorInterruptionStatus _interruption_status