> 1. What exactly is an event in CL model? Each @update block is an event?
Well, usually the model has to track events explicitly. For example, number of register file accesses, or number of ALU operations, or number of cache hits, etc ... sometimes our CL model might just track the number of each dynamic instruction count in a processor and then just multiply these counts but a rough estimate of energy per instruction of that type ...
> 2. How can I dump out a bunch of event counts? Is it a pass?, If so, can you point me a file?
This is not currently an automatic thing ... so the CL model writer keeps track of the events of interest and then dumps them out at the end of the simulation.
> 3. Is there an automatic way to map an event in RTL modeling and that in CL modeling? Or is it user's responsibility to map it and multiply?
An automatic way would be an interesting research idea! But basically no, it would be quick challenging to figure out an automatic way to correlate CL and RTL models ...
> As PyMTL3 is being actively developed now, it seems like I have not figured all features that it provides yet.
No worries! One of the real challenges of CL modeling is that it is very open-ended and there is not much in the way of automated tools to manipulate CL models ...
-c
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pymtl-users/8d80cd6d-b13f-49dc-a5f5-ae19dc3b9e14n%40googlegroups.com.