Jump to content

Recommended Posts

Posted

Hi, 

I want to run the diagram given below. I am executing the modules with the respective processes but it only execute once and then the loop dies. I am providing the static sensitivity to the processes inside the modules e.g.  sensitive<< sig1; and so on. How to make the execution multiple times as mentioned in the STEPS in the Diagram. I need help in running the STEPS multiple times before we proceed to the next step in System C code. Thanks

SystemC Running in Loop.png

Posted

Q1: How are you declaring the processes? [Note: Seeing actual code would help a lot. Your descriptions are completely inadequate for anybody to understand exactly what you are asking.]

Q2: What book are you using to get trained on using SystemC?

 

Posted

Hello @wasim6691,

I totally agree with @David Black, Can you provide a minimal example of what your are trying to achieve?

From your minimal description all I could figure out are the following scenarios:

  1. You are not generating enough transactions/events in your simulation models and the simulation is exiting with the error message: Stopping simulation due to starvation
  2. You are yourself stopping the simulation with a call to sc_stop() before the next iteration can begin.

Post more details about the issue you are facing so that more community members can help you figure it out faster.

Regards,

Ameya Vikram Singh

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