Modelling and Simulation in Engineering / 2014 / Article / Alg 3

Research Article

Runtime Instrumentation of SystemC/TLM2 Interfaces for Fault Tolerance Requirements Verification in Software Cosimulation

Algorithm 3

void tlm2_wrapper::b_transport_processing( transaction_type& trans,
                   sc_core::sc_time& delay )
{
//    pre_processing( trans, delay );
cout << "–-B_TRANSPORT Pre_wrapper–-"  << endl;
b_transport_original_path_call( trans, delay );
//    post_processing( trans, delay );
    cout << "–-B_TRANSPORT Post_wrapper–-"  << endl;
}