ZEESHAN KHATIB Posted January 16, 2019 Report Share Posted January 16, 2019 Hi, I am learning systemc/TLM2.0, I have a confusions in using the phases, When it comes to AT modeling, BEGIN_REQ and END_REQ are used to write data from initiator to target and BEGIN_RESP and END_RESP are use to read from traget to initiator OR we should split the write to target in 4 different phases and read from target in 4 different phases? I am aware of return path and early completion , i just want to have clearity on usage of request and response phases, Quote Link to comment Share on other sites More sharing options...
Eyck Posted January 16, 2019 Report Share Posted January 16, 2019 BEGIN_REQ/END_REQ and BEGIN_RESP/END_RESP mark time points in the protocol. So in the stanndard implementation you have 2 phases: request and response. Depending on the type of access various data is been transferred: for a read REQ usually carries the addr while RESP carries the data and status while during a write REQ carries addess and data while RESP just carries the status. It is up to the initiator and target to care for consistency of the data in the payload, in most implementations I''ve seen the data is sampled/set at the BEGIN_* time point. Best regards ZEESHAN KHATIB 1 Quote Link to comment Share on other sites More sharing options...
ZEESHAN KHATIB Posted January 16, 2019 Author Report Share Posted January 16, 2019 Okay, for more clearity ,above image is taken from LRM from section 11.1.2.10, 1. during read command,is it 10ns in return path is for the target to perform read from target memory to data_pointer of initiator present in target as a part of generic payload member? if not than when is the actual read happens ? 2.what is target doing from 110ns to 150ns ? 3.how do i interpret 5ns present in return of BEGIN_RESP Please help . Quote Link to comment Share on other sites More sharing options...
Eyck Posted January 17, 2019 Report Share Posted January 17, 2019 See the answer to your other post. In a few words it describes the duration of the phase and saves a second call just to mark the end of the phase. Best regards Quote Link to comment Share on other sites More sharing options...
ZEESHAN KHATIB Posted January 17, 2019 Author Report Share Posted January 17, 2019 Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.