Jump to content

Recommended Posts

Hi

I have doubt about TLM Phase.

Do i need use tlm phase in this specific order always (BEGIN_REQ,END_REQ,BEGIN_RESP and END_RESP)??

And if yes, what should be done when I send a BEGIN_REQ from the master side but get END_RESP from the slave side.

(Should just stop the transaction??)

Please help me out with this doubt

 

Share this post


Link to post
Share on other sites

Hi,

2 hours ago, Shashidhar said:

Do i need use tlm phase in this specific order always (BEGIN_REQ,END_REQ,BEGIN_RESP and END_RESP)??

Yes the TLM phase has to be in specific order.

2 hours ago, Shashidhar said:

And if yes, what should be done when I send a BEGIN_REQ from the master side but get END_RESP from the slave side.

(Should just stop the transaction??)

You can look into the examples folder for the "$SYSTEMC_HOME" installation folder, specifically at_1_phase, at_2_phase and at_4_phase sub-folder.

$SYSTEMC_HOME/examples/tlm/

You can also look into a good documentation available in the "$SYSTEMC_HOME" install folder under doc folder, specifically slides: 36, 37, 38 about 1-Phase, 2-Phase, and 4-Phase transactions:

$SYSTEMC_HOME/docs/tlm/release/TLM_2_0_presentation.pdf

Hope this helps.

Regards,

Ameya Vikram Singh

Share this post


Link to post
Share on other sites

hi,

I am sorry to misled you in my previous response. Target can return END_RESP - when the PHase need to be skipped. In this case, initiator may return TLM_COMPLETED. But is not mandatory.

Thanks,

Sudha.

Share this post


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