Jump to content

Is dynamic and Static process scheduling differs?


Pallavia

Recommended Posts

Hi All,

 

I have below doubts could you please help;

 

We have two process

1. one with static sensitivity

(a,b,c are input ports)

 

SC_METHOD(P1);

sensitivity<<a<<b<<c;

 

2.second with dynamic sensitivity created using sc_spwan 

 

spawn_opt.spawn_method()

spwan_opt.set_sensitivity(a);

spwan_opt.set_sensitivity( b );

spwan_opt.set_sensitivity©;

sc_scpawn(sc_bind(&p1,this,i),name,&spawn_opt);

 

Here is my doubt ,

1. How does scheduling happens for static and dynamic threads?

2. Is it different for static and dynamic process? I mean is static event gets priority

 

Thanks in advance.

 

Regards,

Pallavi

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