Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

Is dynamic and Static process scheduling differs?

$
0
0

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


Viewing all articles
Browse latest Browse all 595

Trending Articles