Files
fail/core/SAL/ovp/FailOVPInit.ah

16 lines
287 B
Plaintext

#ifndef __OVPINIT_AH__
#define __OVPINIT_AH__
#include "../SALInst.hpp"
aspect FailOVPInit {
advice call("% ...::startSimulation(...)") : before ()
{
std::cout << "OVP init aspect!" << std::endl;
// TODO: Log-Level?
fail::simulator.startup();
}
};
#endif // __OVPINIT_AH__