Encoding SystemC models in formal synchronous formalism