Changes between Version 89 and Version 90 of Writing Rules/Tlmt
- Timestamp:
- Nov 17, 2008, 1:49:15 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Tlmt
v89 v90 44 44 45 45 The TLM2.0 standard allows the user to redefine both the payload and the phases of the transactions. 46 Two classes have been defined in '''soclib_vci_types''' : a '''tlmt_vci_ transaction''' and a '''tlmt_phase".47 48 The payload of a '''tlmt_vci_ transaction''' contains three groups of information:46 Two classes have been defined in '''soclib_vci_types''' : a '''tlmt_vci_payload''' and a '''tlmt_phase". 47 48 The payload of a '''tlmt_vci_payload''' contains three groups of information: 49 49 * TLM2.0 generic fields 50 50 * TLM-T specific fields 51 51 * VCI specific fields 52 52 {{{ 53 class tlmt_vci_ transaction53 class tlmt_vci_payload 54 54 { 55 55 ... … … 79 79 }}} 80 80 81 The TLM2.0 compliant accessors allow to set the TLM2.0 related fields, such as the transactionaddress, the data & byte enable81 The TLM2.0 compliant accessors allow to set the TLM2.0 related fields, such as the payload address, the data & byte enable 82 82 arrays pointers and its associated size in bytes. 83 83 84 Dedicated VCI accessors are used to define the VCI transactiontype, that can either be '''set_read()''' (for VCI read command),84 Dedicated VCI accessors are used to define the VCI payload type, that can either be '''set_read()''' (for VCI read command), 85 85 '''set_write()''' (for VCI write command),'''set_locked_read()''' (for VCI atomic locked read), 86 86 and '''set_store_cond()''' (for VCI atomic store conditional). The '''set_srcid()''', '''set_trdid()''' and '''set_pktid()''' functions … … 90 90 as the existing SoCLib models use uint32_t arrays to model both the embedded memories and the caches... 91 91 Experiments are currently in progress to evaluate the performance degradation incurred by this char <-> uint formatting. 92 It is therefore possible that the types of the data and byte_enable fields of the '''tlmt_vci_ transaction'''92 It is therefore possible that the types of the data and byte_enable fields of the '''tlmt_vci_payload''' 93 93 will be changed to '''uint32*''' . 94 94