Changes between Version 120 and Version 121 of Writing Rules/Tlmt


Ignore:
Timestamp:
Mar 3, 2009, 10:29:49 AM (15 years ago)
Author:
alinevieiramello@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Tlmt

    v120 v121  
    149149This class inherits from the standard SystemC '''sc_core::sc_module''' class, that acts as the root class for all TLM-T modules.
    150150
    151 The initiator uses the '''pdes_local_time''' classe for managing and interacting with his local time and with the interval between two consecutive null messages.
     151The initiator uses the class '''pdes_local_time''' for managing and interacting with his local time and with the interval between two consecutive null messages.
    152152The '''pdes_local_time''' has the following access functions:
    153153{{{
     
    157157  ...
    158158
    159   pdes_local_time( sc_core::sc_time time_quantum );  //constructor
     159  pdes_local_time( sc_core::sc_time time_quantum );  // constructor
    160160  void add(const sc_core::sc_time& t);               // add an increment to the local time
    161161  void set(sc_core::sc_time t);                      // set the local time
    162162  sc_core::sc_time get();                            // get the local time
    163   bool need_sync();                                  // Checks if a synchronization is required
    164 }}}
    165 
    166 The boolean member variable '''m_activity_status''' indicates if the initiator is currently active.
    167 It is used by the temporal filtering threads contained in the '''vci_vgmn''' interconnect, as described in section F.
    168 The corresponding access functions are '''setActivity()''' and '''getActivity()'''.
    169 {{{
    170   bool m_activity_status;
     163  bool need_sync();                                  // check if a synchronization is required
     164}}}
     165
     166The initiator activity status (used by the temporal filtering, as described in section F) is managed for the class '''pdes_activity_status'''.
     167The corresponding access functions are '''set()''' and '''get()'''.
     168{{{
     169  bool m_activity_status;                           // the initiator activity status
    171170  ...
    172   void setActivity(bool t);                         // set the activity status (true if the component is active)
    173   bool getActivity(void);                           // get the activity state
     171  void set(bool a);                                 // set the activity status (true if the component is active)
     172  bool get();                                       // get the activity state
    174173}}}
    175174