Shashidhar

Doubt with TLM phase

5 posts in this topic

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

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