Changes between Version 70 and Version 71 of Writing Rules/Tlmt
- Timestamp:
- Nov 15, 2008, 6:25:13 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Tlmt
v70 v71 72 72 // VCI related fields 73 73 74 vci_command m_command; // cmd74 vci_command m_command; // cmd 75 75 unsigned int m_src_id; // srcid 76 76 unsigned int m_trd_id; // trdid … … 80 80 The TLM2.0 compliant accessors allow to set the TLM2.0 related fields, such as the transaction address, the data & byte enable 81 81 arrays pointers and its associated size in bytes. 82 83 Dedicated 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), 85 and '''set_store_cond()''' (for atomic store conditional). The '''set_src_id()''', '''set_trd_id()''' and '''set_pkt_id()''' functions 86 respectively set the VCI source, thread and packet identifiers. 82 87 83 88 NB : The byte array approach defined by TLM2.0 can degrade the simulation speed, … … 86 91 It is therefore possible that the types of the '''m_data''' and '''m_byte_enable''' of the '''tlmt_vci_transaction''' 87 92 will 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()''' functions92 respectively set the VCI source, thread and packet identifiers.93 93 94 94 = D) VCI initiator Modeling =