|
Post by karandeep963 on May 2, 2013 11:21:50 GMT
Hello All, Please elaborate the systemc simulation kernel scheduling wrt to following example: Process P1 instruction 1 instruction 2 x.notify(); instruction 3 wait(); Process P2 instruction 1 instruction 2 wait (x); instruction 3 Process P3 instruction 1 instruction 2 instruction 3 wait(); instruction 4 All the above processes are sensitive to same static sensitivity list. So the question is in process P2 does the instruction 3 will get the updated value of instruction 1-2 of the same process P2. ? Hope for early reply.........
|
|
|
Post by richa11verma on May 3, 2013 6:31:01 GMT
Hello All, Please elaborate the systemc simulation kernel scheduling wrt to following example: Process P1 instruction 1 instruction 2 x.notify(); instruction 3 wait(); Process P2 instruction 1 instruction 2 wait (x); instruction 3 Process P3 instruction 1 instruction 2 instruction 3 wait(); instruction 4 All the above processes are sensitive to same static sensitivity list. So the question is in process P2 does the instruction 3 will get the updated value of instruction 1-2 of the same process P2. ? Hope for early reply......... Karandeep963, x.notify() is immediate notification. So, process sensitive to this notification(Process 2) will run in current evaluation phase. Evaluation phase appears earlier than Update phase of systemC schedular. So, Instruction 3 shall not get the updated value of instruction 1-2. This is probably the answer of your question, though I have not tested it practically.
|
|