Changes between Version 118 and Version 119 of Writing Rules/Tlmt
- Timestamp:
- Mar 3, 2009, 10:01:50 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Tlmt
v118 v119 138 138 extension_ptr->set_pkt_id(pktid); 139 139 // set the extension to tlm payload 140 payload_ptr->set_extension (extension_ptr 140 payload_ptr->set_extension (extension_ptr); 141 141 ... 142 142 }}} … … 149 149 This class inherits from the standard SystemC '''sc_core::sc_module''' class, that acts as the root class for all TLM-T modules. 150 150 151 The initiator local time is contained in a member variable named '''m_local_time''', of type '''sc_core::sc_time'''. The 151 The initiator uses the methods of '''pdes_local_time''' classe for managing and interacting his local time and the interval between two consecutive null messages. 152 153 The initiator local time is managed contained in a member variable named '''m_local_time''', of type '''sc_core::sc_time'''. The 152 154 local time can be accessed with the following accessors: '''addLocalTime()''', '''setLocalTime()''' 153 155 and '''getLocalTime()'''.