Jump to content

Phases of AT type model in a system ?


Recommended Posts

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,

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

400283513_Screenshotfrom2019-01-1615_28_08.png.9eec5bef697428f2405ce8cb92693dda.png

 

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 .

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...