Jump to content

Interrupt handling in TLM model


Recommended Posts

Hi experts

Is there exists some simple example which explains how interrupts are handled at TLM platfrom.

I have a model where if it recieve some interrupt then it needs to suspends some ongoing task and start some other activities and once done resumes suspended tasks

 

Thanks

RahulJn

Link to comment
Share on other sites

There's no built-in way of handling interrupts. There has been some discussion in the Working Group of creating some special channel.

 

One possibility that John Aynsley used to suggest was to use analysis ports to send a transaction representing an interrupt. However it's up to you to use sc_event or whatever to actually implement the interrupt behaviour.

 

It might be worth looking on the verification academy website in case there are some ideas there,

 

regards

Alan

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...