Changes between Version 12 and Version 13 of Writing Rules/Transactors


Ignore:
Timestamp:
Feb 24, 2010, 10:05:12 PM (14 years ago)
Author:
alinevieiramello@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/Transactors

    v12 v13  
    2525The modeling approach for the transactors respects the PDES distributed time representation : The clock signal CK of the CABA component is directly driven by the associated transactor component, depending on the local time  evolution. If there are several CABA components in a given TLM-DT platform, there is no direct coupling between the CABA components (no sc_signal connecting two CABA component controled by two different transactors).
    2626
    27 = C) Initiator VCI Transactor modeling =
     27= C) VCI Initiator Transactor modeling =
    2828
    2929All VCI commands received on the CABA interface are registered in a buffer indexed by the TRDID field. Each entry in this Pending_Transaction_Buffer contains a transaction status, a transaction time, and enough space to store a complete VCI TLM-DT transaction payload.
     
    3636If the VCI initiator can receive interrupts, the transactor provides an optional service of translation : When an IRQ is received on the TLM-DT IRQ port (by the interface nb_transport_fw() method)  this information is registered, and the IRQ is transmited on the IRQ CABA port by the behaviour() thread.
    3737
    38 = D) Target VCI Transactor modeling =
     38= D) VCI Target Transactor modeling =
    3939All transactions received on the TLM-DT port are registered in a 2 dimensions buffer, indexed by both the VCI SRCID, and VCI TRDID fields. Each entry in this Pending-Transaction_Buffer contains a transaction status, a transaction time, and a pointer on the transaction payload.
    4040As any TLM-DT target, the VciTargetTransactor component has a purely reactive behaviour : the behavior() thread is running only when a command is received, and keeps running until the last response to the last pending transaction has been transmited. When it is running,  it is descheduled twice per simulated cycle to drive the CK signal on the CABA interface.
     
    4646If the VCI target can send interrupts, the transactor provides an optional service of translation : When the behaviour() thread is running (following a VCI command, or NULL message reception) it polls the CABA IRQ port, and calls the nb_transport_fw() method on the IRQ TLM-DT port when the CABA value is modified.
    4747
    48 = E)Implementation =
     48= E) Implementation =
    4949For both transactors, each entry in the Pending_transaction_Buffer can be in three different states :
    5050