Jump to content
ZEESHAN KHATIB

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,

 

Share this post


Link to post
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

Share this post


Link to post
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 .

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×