Jump to content

role of dynamic processes


amitk3553

Recommended Posts

Why we use dynamic processes, exact role of dynamic processes? In place of these could we use simply static processes?

 

Dynamic processes are especially used in situations when you need to spawn additional parallel execution in your model during the simulation. You cannot use static processes in such cases.

 

/Philipp

Link to comment
Share on other sites

Dynamic processes are especially used in situations when you need to spawn additional parallel execution in your model during the simulation. You cannot use static processes in such cases.

 

/Philipp

 

In perfect agreement with what Phillipp has said, if one is trying to analyze/model hardware,

absolutely do not use dynamic processes, as there is no such thing as creating hardware

"on the fly". But if one is examing software, one could use dynamic processes.  

Link to comment
Share on other sites

Dynamic processes have many uses. An interesting example is for those modeling cell phone base station environment. When a cell phone "comes into range", you can launch a process to model the appearance of a cell phone, and have it die when it goes out of range. Another example might be to model hot pluggable USB devices on a USB controller. Admittedly, you could create a pool of static processes for this purpose, but it is not always a natural style. For verification, dynamic processes are frequently useful to do activities related to temporal assertions (i.e. like System Verilog Assertions or PSL).

 

There is an overhead for launching dynamic processes that has to be considered when modeling, so only use when it makes sense.

 

SystemVerilog has the construct: fork/join_none that is the equivalent concept to spawning in SystemC.

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