Changes between Version 70 and Version 71 of Writing Rules/Tlmt


Ignore:
Timestamp:
Nov 15, 2008, 6:25:13 PM (15 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Tlmt

    v70 v71  
    7272  // VCI related fields
    7373 
    74   vci_command         m_command;                // cmd
     74  vci_command          m_command;               // cmd
    7575  unsigned int         m_src_id;                // srcid
    7676  unsigned int         m_trd_id;                // trdid
     
    8080The TLM2.0 compliant accessors allow to set the TLM2.0 related fields, such as the transaction address, the data & byte enable
    8181arrays pointers and its associated size in bytes.
     82
     83Dedicated VCI accessors are used to define the VCI transaction type, that can either be '''set_read()''' (for read command),
     84'''set_write()''' (for write command),'''set_locked_read()''' (for atomic locked read),
     85and '''set_store_cond()''' (for atomic store conditional). The '''set_src_id()''', '''set_trd_id()''' and '''set_pkt_id()''' functions
     86respectively set the VCI source, thread and packet identifiers.
    8287
    8388NB : The byte array approach defined by TLM2.0 can degrade the simulation speed,
     
    8691It is therefore  possible that the types of the '''m_data''' and '''m_byte_enable''' of the '''tlmt_vci_transaction'''
    8792will be changed to '''uint32*''' in a near future.
    88 
    89 Dedicated VCI accessors are used to define the VCI transaction type, that can either be '''set_read()''' (for read command),
    90 '''set_write()''' (for write command),'''set_locked_read()''' (for atomic locked read),
    91 and '''set_store_cond()''' (for atomic store conditional). The '''set_src_id()''', '''set_trd_id()''' and '''set_pkt_id()''' functions
    92 respectively set the VCI source, thread and packet identifiers.
    9393
    9494= D) VCI initiator Modeling =