How to write local watching in new version (2.3) SystemC?

Status
Not open for further replies.

ruwan2

Member level 5
Joined
Nov 29, 2011
Messages
90
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,141
Hi,

I learn SystemC on web site:

https://asic-world.com/systemc/process6.html

It has a local watching example project, but the new 2.3 SystemC on my PC does not support it. Do you know what coding syntax can do the same job?

I've solved a similar example problem on "reset.delayed()", but have no idea to the local watching problem.

Thanks,


W_BEGIN
// put the watching declarations here
watching(...);
watching(...);
W_DO
// This is where the process functionality goes
...
W_ESCAPE
// This is where the handlers for the watched events go
if (..) {
...
}
W_END
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…